|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KDMEntity
A representation of the model object 'KDM Entity'. A KDM entity is a named model element that represents an artifact of existing software systems. In the meta-model, KDMEntity is a subclass of ModelElement. Each KDM package defines specific KDM entities that are direct or indirect subclasses of KDMEntity. A KDMEntity can be either an atomic element, a container for some KDMEntities, or a group of some KDMEntities. Container and group introduce implicit relationships between entities and are used to represent hierarchies of entities. A container is a KDMEntity that owns other entities. A group is a KDMEntity with which other entities are associated. A KDMEntity can be owned by at most one container, and can be associated with zero or many groups.
The following features are supported:
Name
Model
Owner
Owned Element
Outbound
Inbound
Owned Relation
Group
Grouped Element
In Aggregated
Out Aggregated
CorePackage.getKDMEntity()
Method Summary | |
---|---|
AggregatedRelationship |
createAggregation(KDMEntity otherEntity)
This operation creates an aggregated relationship such that the current entity is the from-endpoint of the aggregated relation and the "otherEntity" is the to-endpoint. |
void |
deleteAggregation(AggregatedRelationship aggregation)
This operation deletes the given aggregated relationship. |
|
getGroup()
Returns the value of the 'Group' reference list. |
|
getGroupedElement()
Returns the value of the 'Grouped Element' reference list. |
|
getInAggregated()
Returns the value of the 'In Aggregated' reference list. |
|
getInbound()
Returns the value of the 'Inbound' reference list. |
KDMModel |
getModel()
Returns the value of the 'Model' reference. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
|
getOutAggregated()
Returns the value of the 'Out Aggregated' reference list. |
|
getOutbound()
Returns the value of the 'Outbound' reference list. |
|
getOwnedElement()
Returns the value of the 'Owned Element' containment reference list. |
|
getOwnedRelation()
Returns the value of the 'Owned Relation' containment reference list. |
KDMEntity |
getOwner()
Returns the value of the 'Owner' container reference. |
void |
setName(java.lang.String value)
Sets the value of the ' Name ' attribute. |
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.ModelElement |
---|
getStereotype, getTaggedValue |
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element |
---|
getAnnotation, getAttribute |
Method Detail |
---|
java.lang.String getName()
setName(String)
,
CorePackage.getKDMEntity_Name()
void setName(java.lang.String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
AggregatedRelationship createAggregation(KDMEntity otherEntity)
void deleteAggregation(AggregatedRelationship aggregation)
getInbound()
KDMRelationship
.
the set of relationships such that the current
KDMEntity is the to-endpoint of these relations.
CorePackage.getKDMEntity_Inbound()
getOutbound()
KDMRelationship
.
the set of relationships such that the current
KDMEntity is the from-endpoint of these relationships.
CorePackage.getKDMEntity_Outbound()
getOwnedRelation()
KDMRelationship
.
the set of relationships such that the current
KDMEntity owns these relationships.
CorePackage.getKDMEntity_OwnedRelation()
getInAggregated()
AggregatedRelationship
.
It is bidirectional and its opposite is 'To
'.
the set of AggregatedRelationship for which
the target is the current KDM Entity.
CorePackage.getKDMEntity_InAggregated()
,
AggregatedRelationship.getTo()
getOutAggregated()
AggregatedRelationship
.
It is bidirectional and its opposite is 'From
'.
the set of AggregatedRelationship for which
the origin is the current KDM Entity.
CorePackage.getKDMEntity_OutAggregated()
,
AggregatedRelationship.getFrom()
KDMEntity getOwner()
Owned Element
'.
KDM entity that owns the current element. This property determines a meta-level interface
to KDM entities. This property is a derived union. Some KDM entities define a concrete set
of owned elements that are subtypes of KDMEntity. In KDM this is represented by the
CMOF "derived union" mechanism. Concrete properties subset the "union" properties of the
parent classes, defined in the Core package. The owner of a KDM entity is defined as the
container for which the given entity is an owned entity.
CorePackage.getKDMEntity_Owner()
,
getOwnedElement()
getOwnedElement()
KDMEntity
.
It is bidirectional and its opposite is 'Owner
'.
the set of KDM entities that are owned by the current
KDM Entity. Only KDM containers can own other entities.
CorePackage.getKDMEntity_OwnedElement()
,
getOwner()
getGroup()
KDMEntity
.
Set of KDM entities with which the current element is associated. This property determines
a meta-level interface to KDM entities. This property is a derived union. Some KDM entities
define a concrete set of grouped elements that are the subtypes of KDMEntity. In KDM this
is represented by the CMOF "derived union" mechanism. Concrete properties subset the
"union" properties of the parent classes, defined in the Core package. The group of a KDM
entity is defined as the group for which the given entity is a grouped entity. Each KDM
entity can be associated with multiple groups.
CorePackage.getKDMEntity_Group()
getGroupedElement()
KDMEntity
.
the set of KDM entities that are "grouped" by the
current KDM entity. Only KDM groups can have group associations to other
entities.
CorePackage.getKDMEntity_GroupedElement()
KDMModel getModel()
Owned Element
'.
the KDM model that owns the current KDM
Entity
CorePackage.getKDMEntity_Model()
,
KDMModel.getOwnedElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |