org.eclipse.gmt.modisco.omg.kdm.core
Interface AggregatedRelationship

All Superinterfaces:
Element, ModelElement

public interface AggregatedRelationship
extends ModelElement

A representation of the model object 'Aggregated Relationship'. The set of aggregated relationships for a given entity represents all primitive relationships between the entities that are transitively owned by the given entity as well as the entity itself. This is a concrete class, because an AggregatedRelationship can be instantiated, and exchanged. AggregatedRelations are meant to be built on demand (and exchanged too, if necessary). The lifecycle of the Aggregated Relationships can be explicitly managed by the operations of the KDMEntity class.

The following features are supported:

See Also:
CorePackage.getAggregatedRelationship()
Generated:
Model:

Method Summary
 java.lang.Integer getDensity()
          Returns the value of the 'Density' attribute.
 KDMEntity getFrom()
          Returns the value of the 'From' reference.
  getRelation()
          Returns the value of the 'Relation' reference list.
 KDMEntity getTo()
          Returns the value of the 'To' reference.
 void setDensity(java.lang.Integer value)
          Sets the value of the 'Density' attribute.
 void setFrom(KDMEntity value)
          Sets the value of the 'From' reference.
 void setTo(KDMEntity value)
          Sets the value of the 'To' reference.
 
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

getFrom

KDMEntity getFrom()
Returns the value of the 'From' reference. It is bidirectional and its opposite is 'Out Aggregated'.

If the meaning of the 'From' reference isn't clear, there really should be more of a description here...

The source container of the relationships in the aggregated set. All relationships in the aggregated set should originate from the source container or from some entity that is contained directly or indirectly in the source container.

Returns:
the value of the 'From' reference.
See Also:
setFrom(KDMEntity), CorePackage.getAggregatedRelationship_From(), KDMEntity.getOutAggregated()
Generated:
Model:
opposite="outAggregated" required="true" ordered="false"

setFrom

void setFrom(KDMEntity value)
Sets the value of the 'From' reference.

Parameters:
value - the new value of the 'From' reference.
See Also:
getFrom()
Generated:

getTo

KDMEntity getTo()
Returns the value of the 'To' reference. It is bidirectional and its opposite is 'In Aggregated'.

If the meaning of the 'To' reference isn't clear, there really should be more of a description here...

The target container of the relationships in the aggregated set. All relations in the aggregated set should terminate at the target container or at some entity that is contained directly or indirectly in the target container.

Returns:
the value of the 'To' reference.
See Also:
setTo(KDMEntity), CorePackage.getAggregatedRelationship_To(), KDMEntity.getInAggregated()
Generated:
Model:
opposite="inAggregated" required="true" ordered="false"

setTo

void setTo(KDMEntity value)
Sets the value of the 'To' reference.

Parameters:
value - the new value of the 'To' reference.
See Also:
getTo()
Generated:

getRelation

 getRelation()
Returns the value of the 'Relation' reference list. The list contents are of type KDMRelationship.

If the meaning of the 'Relation' reference list isn't clear, there really should be more of a description here...

The set of primitive KDM relationships represented by the aggregated relationship.

Returns:
the value of the 'Relation' reference list.
See Also:
CorePackage.getAggregatedRelationship_Relation()
Generated:
Model:
ordered="false"

getDensity

java.lang.Integer getDensity()
Returns the value of the 'Density' attribute.

If the meaning of the 'Density' attribute isn't clear, there really should be more of a description here...

The number of primitive relationships in the aggregated set.

Returns:
the value of the 'Density' attribute.
See Also:
setDensity(Integer), CorePackage.getAggregatedRelationship_Density()
Generated:
Model:
dataType="org.eclipse.gmt.modisco.omg.kdm.core.Integer"

setDensity

void setDensity(java.lang.Integer value)
Sets the value of the 'Density' attribute.

Parameters:
value - the new value of the 'Density' attribute.
See Also:
getDensity()
Generated: