EENum Target

Provides a set of possible query targets.

ePackage:

common

used by:

Anchor, Edge, LabelQuery, ReferringObject, SubVertex, ToolGenerator, Vertex

The EENum provides the following literals:

  • ROOT = 0

    MXMDB model database, contains all M1 and M2 models.

  • RESOURCE = 1

    The file where the model in contained and you are working on. E.g. LightControllerExample.oaam

  • PARENT = 2

    The current model object (e.g., the Task). Most used.

  • MODELROOT = 3

    The root object where context is contained. E.g. Architecture.

  • EDITORROOT = 4

    The object your editor shows. E.g. Functions.

  • CUSTOM = 5

    If the target is set to CUSTOM the queryTargetAlias attribute of the providing object is evaluated.

  • DETACHED = 6