Class UML 2.3::AssociationClass
Description:
A model element that has both association and class properties. An AssociationClass
can be seen as an association that also has class properties, or as a class
that also has association properties. It not only connects a set of classifiers
but also defines a set of features that belong to the relationship itself
and not to any of the classifiers.
Direct Superclasses: Class,
AssociationDirect Subclasses: Class Precedence List: AssociationClass,
Class,
EncapsulatedClassifier,
StructuredClassifier,
BehavioredClassifier,
Association,
Classifier,
TemplateableElement,
Type,
PackageableElement,
ParameterableElement,
Namespace,
RedefinableElement,
NamedElement,
Relationship,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
extension :
Extension (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
isAbstract : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
isActive : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
nestedClassifier :
Classifier (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedAttribute :
Property (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedOperation :
Operation (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedReception :
Reception (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
superClass :
Class (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedPort :
Port (0 *); -- source
EncapsulatedClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedConnector :
Connector (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
part :
Property (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
role :
ConnectableElement (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedTrigger :
Trigger (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
endType :
Type (1 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
isDerived : Boolean (1 1); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
memberEnd :
Property (2 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
navigableOwnedEnd :
Property (0 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedEnd :
Property (0 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
visibility :
VisibilityKind (1 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
relatedElement :
Element (1 *); -- source
Relationship![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=4436%3A60AD81F1653EF4F207508C9DDD92322B)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: disjoint_attributes_ends() : Boolean;
Description: The owned attributes and owned ends of an AssociationClass are disjoint
Expression: ownedAttribute->intersection(ownedEnd)->isEmpty()
Signature: cannot_be_defined() : Boolean;
Description: An AssociationClass cannot be defined between itself and something else.
The OCL used here is not normative.Editor's notes: (1) allParents not allparents,(2) -> not > (3) Need a forAll to deal with collection of Boolean???
Expression: self.endType->excludes(self) and self.endType->collect(et|et.allParents()->excludes(self))->forAll(x|x)
Original: self.endType->excludes(self) and self.endType->collect(et|et.allparents()->excludes(self))
Operations:
No additional operations.
Send questions or comments to
[email protected].