Interface IMetaAssociation
-
public interface IMetaAssociation
Represents the type of an association member of an entity (IMetaObject).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IMetaAssociation.AssociationOwner
Defines the owner of the association.static class
IMetaAssociation.AssociationType
Defines the type of the association.static class
IMetaAssociation.DeleteBehaviourChild
Defines the child's delete behaviour of the association.static class
IMetaAssociation.DeleteBehaviourParent
Defines the parent's delete behaviour of the association.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMetaObject
getChild()
Returns the meta-object for the child of this association type.IMetaAssociation.DeleteBehaviourChild
getDeleteBehaviourChild()
Returns the delete behaviour for child deletion of this association type.java.lang.String
getDeleteBehaviourChildMessageKey()
Returns the message key for the child's delete behaviour.IMetaAssociation.DeleteBehaviourParent
getDeleteBehaviourParent()
Returns the delete behaviour for parent deletion of this association type.java.lang.String
getDeleteBehaviourParentMessageKey()
Returns the message key for the parent's delete behaviour.java.util.UUID
getModelGUID()
Returns the identifier of the modeled association which is the base of this association type.java.lang.String
getName()
Returns the name of this association type.IMetaAssociation.AssociationOwner
getOwner()
Returns the owner of this association type.IMetaObject
getParent()
Returns the meta-object for the parent of this association type.IMetaAssociation.AssociationType
getType()
Returns the type of this association type.boolean
hasMetaDataAccess(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
-
-