Interface IMetaAssociation
-
public interface IMetaAssociationRepresents the type of an association member of an entity (IMetaObject).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIMetaAssociation.AssociationOwnerDefines the owner of the association.static classIMetaAssociation.AssociationTypeDefines the type of the association.static classIMetaAssociation.DeleteBehaviourChildDefines the child's delete behaviour of the association.static classIMetaAssociation.DeleteBehaviourParentDefines the parent's delete behaviour of the association.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMetaObjectgetChild()Returns the meta-object for the child of this association type.IMetaAssociation.DeleteBehaviourChildgetDeleteBehaviourChild()Returns the delete behaviour for child deletion of this association type.java.lang.StringgetDeleteBehaviourChildMessageKey()Returns the message key for the child's delete behaviour.IMetaAssociation.DeleteBehaviourParentgetDeleteBehaviourParent()Returns the delete behaviour for parent deletion of this association type.java.lang.StringgetDeleteBehaviourParentMessageKey()Returns the message key for the parent's delete behaviour.java.util.UUIDgetModelGUID()Returns the identifier of the modeled association which is the base of this association type.java.lang.StringgetName()Returns the name of this association type.IMetaAssociation.AssociationOwnergetOwner()Returns the owner of this association type.IMetaObjectgetParent()Returns the meta-object for the parent of this association type.IMetaAssociation.AssociationTypegetType()Returns the type of this association type.booleanhasMetaDataAccess(IContext context)Returns whether the specified context has access to this association type.
-
-
-
Method Detail
-
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
java.lang.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
java.lang.String getDeleteBehaviourChildMessageKey()
Returns the message key for the child's delete behaviour.- Returns:
- the message key
-
getName
java.lang.String getName()
Returns the name of this association type.- Returns:
- the name
-
getOwner
IMetaAssociation.AssociationOwner 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
IMetaAssociation.AssociationType 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
java.util.UUID getModelGUID()
Returns the identifier of the modeled association which is the base of this association type.- Returns:
- the identifier of the modeled association
-
-