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