Class UML 2.4.1::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,
Namespace,
Type,
PackageableElement,
ParameterableElement,
RedefinableElement,
NamedElement,
TemplateableElement,
Relationship,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
extension :
Extension (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
isAbstract : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
isActive : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
nestedClassifier :
Classifier (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedAttribute :
Property (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedOperation :
Operation (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedReception :
Reception (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
superClass :
Class (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedPort :
Port (0 *); -- source
EncapsulatedClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedConnector :
Connector (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
part :
Property (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
role :
ConnectableElement (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
endType :
Type (1 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
isDerived : Boolean (1 1); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
memberEnd :
Property (2 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
navigableOwnedEnd :
Property (0 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedEnd :
Property (0 *); -- source
Association![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
visibility :
VisibilityKind (1 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
relatedElement :
Element (1 *); -- source
Relationship![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=78303%3AB74709B6F03BA26F7BF100E07A878B61)
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].