model1
Class AssociationEnd

An association is composed of two AssociationEnds. Each AssociationEnd defines a Classifier participant in the Association, the role it plays, and constraints on sets of the Classifier instances participating. An instance of an AssociationEnd is a LinkEnd,
which defines a relationship between a link, in instance of an Association, and an instance of the AssociationEnd's Classifier, provided in its type attribute.

Attributes
Class aggregation aggregation

Certain associations define aggregations - directed associations with additional semantics. When an AssociationEnd is defined as composite or shared, the instance at 'this' end of a Link is the composite or aggregate, and the instance at the 'other' end is the component or subordinate..

Primitive Type boolean isChangeable isChangeable

The isChangeable attribute restricts the capability to perform actions that would modify sets of instances corresponding to this AssociationEnd (the same sets to which multiplicity is applied). Specifically, the set may be created when the
instance defining the set - the instance at the opposite end of the Links - is created. This attribute does not make the set immutable. Instead, it affects the generation of operations in Model Elaboration which would allow modification of the set. For IDL generation, the only operation that allows the set to be modified would be one or more factory operations that create the instance and create the set. The modeler is free to define specific operations that allow modification of the set. Note that defining this AssociationEnd with isChangeable equals false places restrictions on the changeability of the other AssociationEnd, due to their interdependence.

Primitive Type boolean isNavigable isNavigable

The isNavigable attribute determines whether or not the AssociationEnd supports link 'navigation'. This has two implications:


  • A Class defined with an appropriate Reference supports navigation of links from one Class instance to another. If isNavigable is false for an AssociationEnd, no such References may be created.

  • Setting isNavigable to false also suppress a mapping’s mechanisms for indexing links
    based on this AssociationEnd.


Class multiplicity multiplicity

Multiplicity defines constraints on sets of instances. Each instance of the Classifier defined by the opposite AssociationEnd's type defines a set which this multiplicity attribute constrains. Given one of those instances, x, the set is defined as the instances connected by LinkEnds of this AssociationEnd to that instance x. In its use is describing AssociationEnds, isUnique has been constrained to be true, as a simplification. This constraint means that the same two instances cannot participate in more than one Link while participating under the same AssociationEnd. Normally, two instances cannot be linked by more than one Link of an Association at all. But when the AssociationEnd types allow the two instances switch ends, they can form a second
Link without violating the isUnique constraint.

Primitive Type string qualifierName qualifierName

Properties:

Alias
Classifier Behavior
Collections
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameAssociationEnd
Name Expression
Owned Template Signature
OwnerPackage model1
Owning Parameter
PackagePackage model1
Packageable Element visibilitypublic
Qualified Namemodel1::model1::AssociationEnd
Representation
Stereotype
Template Parameter
Visibilitypublic

Attribute Details

 aggregation
public Class aggregation

Certain associations define aggregations - directed associations with additional semantics. When an AssociationEnd is defined as composite or shared, the instance at 'this' end of a Link is the composite or aggregate, and the instance at the 'other' end is the component or subordinate..

Properties:

Aggregationnone
Alias
Association
Association End
Class Class AssociationEnd
Collections
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Nameaggregation
Name Expression
Opposite
Owned Template Signature
OwnerClass AssociationEnd
Owning Association
Owning Parameter
Qualified Namemodel1::model1::AssociationEnd::aggregation
Stereotype
Template Parameter
TypeClass
Upper1
Upper Value
Visibilitypublic


 isChangeable
public Primitive Type boolean isChangeable

The isChangeable attribute restricts the capability to perform actions that would modify sets of instances corresponding to this AssociationEnd (the same sets to which multiplicity is applied). Specifically, the set may be created when the
instance defining the set - the instance at the opposite end of the Links - is created. This attribute does not make the set immutable. Instead, it affects the generation of operations in Model Elaboration which would allow modification of the set. For IDL generation, the only operation that allows the set to be modified would be one or more factory operations that create the instance and create the set. The modeler is free to define specific operations that allow modification of the set. Note that defining this AssociationEnd with isChangeable equals false places restrictions on the changeability of the other AssociationEnd, due to their interdependence.

Properties:

Aggregationnone
Alias
Association
Association End
Class Class AssociationEnd
Collections
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
NameisChangeable
Name Expression
Opposite
Owned Template Signature
OwnerClass AssociationEnd
Owning Association
Owning Parameter
Qualified Namemodel1::model1::AssociationEnd::isChangeable
Stereotype
Template Parameter
TypePrimitive Type boolean
Upper1
Upper Value
Visibilitypublic


 isNavigable
public Primitive Type boolean isNavigable

The isNavigable attribute determines whether or not the AssociationEnd supports link 'navigation'. This has two implications:


Properties:

Aggregationnone
Alias
Association
Association End
Class Class AssociationEnd
Collections
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
NameisNavigable
Name Expression
Opposite
Owned Template Signature
OwnerClass AssociationEnd
Owning Association
Owning Parameter
Qualified Namemodel1::model1::AssociationEnd::isNavigable
Stereotype
Template Parameter
TypePrimitive Type boolean
Upper1
Upper Value
Visibilitypublic


 multiplicity
public Class multiplicity

Multiplicity defines constraints on sets of instances. Each instance of the Classifier defined by the opposite AssociationEnd's type defines a set which this multiplicity attribute constrains. Given one of those instances, x, the set is defined as the instances connected by LinkEnds of this AssociationEnd to that instance x. In its use is describing AssociationEnds, isUnique has been constrained to be true, as a simplification. This constraint means that the same two instances cannot participate in more than one Link while participating under the same AssociationEnd. Normally, two instances cannot be linked by more than one Link of an Association at all. But when the AssociationEnd types allow the two instances switch ends, they can form a second
Link without violating the isUnique constraint.

Properties:

Aggregationnone
Alias
Association
Association End
Class Class AssociationEnd
Collections
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Namemultiplicity
Name Expression
Opposite
Owned Template Signature
OwnerClass AssociationEnd
Owning Association
Owning Parameter
Qualified Namemodel1::model1::AssociationEnd::multiplicity
Stereotype
Template Parameter
TypeClass
Upper1
Upper Value
Visibilitypublic


 qualifierName
public Primitive Type string qualifierName
Properties:

Aggregationnone
Alias
Association
Association End
Class Class AssociationEnd
Collections
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywordslist
Lower1
Lower Value
Multiplicity1
NamequalifierName
Name Expression
Opposite
Owned Template Signature
OwnerClass AssociationEnd
Owning Association
Owning Parameter
Qualified Namemodel1::model1::AssociationEnd::qualifierName
Stereotype
Template Parameter
TypePrimitive Type string
Upper1
Upper Value
Visibilitypublic

Comments