Interface IMetaAssociation


public interface IMetaAssociation
Represents the type of an association member of an entity (IMetaObject).
  • Method Details

    • getChild

      IMetaObject getChild()
      Returns the meta-object for the child of this association type.
      Returns:
      the meta-object
    • getDeleteBehaviourParent

      IMetaAssociation.DeleteBehaviourParent getDeleteBehaviourParent()
      Returns the delete behaviour for parent deletion of this association type.
      Returns:
      the delete behaviour
    • getDeleteBehaviourParentMessageKey

      String getDeleteBehaviourParentMessageKey()
      Returns the message key for the parent's delete behaviour.
      Returns:
      the message key
    • getDeleteBehaviourChild

      IMetaAssociation.DeleteBehaviourChild getDeleteBehaviourChild()
      Returns the delete behaviour for child deletion of this association type.
      Returns:
      the delete behaviour
    • getDeleteBehaviourChildMessageKey

      String getDeleteBehaviourChildMessageKey()
      Returns the message key for the child's delete behaviour.
      Returns:
      the message key
    • getName

      String getName()
      Returns the name of this association type.
      Returns:
      the name
    • getOwner

      Returns the owner of this association type.
      Returns:
      DEFAULT for unidirectional associations, BOTH for bidirectional ones
    • getParent

      IMetaObject getParent()
      Returns the meta-object for the parent of this association type.
      Returns:
      the meta-object
    • getType

      Returns the type of this association type.
      Returns:
      REFERENCE for 'to-one' associations, REFERENCE_SET for 'to-many' associations
    • hasMetaDataAccess

      boolean hasMetaDataAccess(IContext context)
      Returns whether the specified context has access to this association type.
      Parameters:
      context - the context to check
      Returns:
      true if the context has access, false otherwise
    • getModelGUID

      UUID getModelGUID()
      Returns the identifier of the modeled association which is the base of this association type.
      Returns:
      the identifier of the modeled association