Class UML 2.5::Stereotype
Description:
A stereotype defines how an existing metaclass may be extended, and enables
the use of platform or domain specific terminology or notation in place
of, or in addition to, the ones used for the extended metaclass.
Direct Superclasses: ClassDirect Subclasses: Class Precedence List: Stereotype,
Class,
BehavioredClassifier,
EncapsulatedClassifier,
StructuredClassifier,
Classifier,
Namespace,
Type,
PackageableElement,
ParameterableElement,
TemplateableElement,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
icon :
Image (0 *); -- source
Stereotype![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
profile :
Profile (1 1); -- source
Stereotype![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
extension :
Extension (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
isAbstract : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
isActive : Boolean (1 1); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
nestedClassifier :
Classifier (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedAttribute :
Property (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedOperation :
Operation (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedReception :
Reception (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
superClass :
Class (0 *); -- source
Class![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedPort :
Port (0 *); -- source
EncapsulatedClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedConnector :
Connector (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
part :
Property (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
role :
ConnectableElement (0 *); -- source
StructuredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
visibility :
VisibilityKind (0 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=3024%3A1CB0E66082411B818503E2CF8C82C41F)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: profile.1() : Profile;
Description: A stereotype must be contained, directly or indirectly, in a profile.
Expression: result = (self.containingProfile())
Signature: containingProfile() : Profile;
Description: The query containingProfile returns the closest profile directly or indirectly
containing this stereotype.
The OCL used here is not normative.Editor's notes: Rewritten to stop recursion if namespace is a Profile.
Expression: if self.namespace.oclIsKindOf(Profile)
then self.namespace
else self.namespace.oclAsType(Package).containingProfile()
endif
Original: result = (self.namespace.oclAsType(Package).containingProfile())
Send questions or comments to
[email protected].