Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more specific classifiers will appear before more general classifiers.
- Getting started
- Tutorial - Model driven basics
- Tutorial - Full stack Angular application
- Fundamentals
- How-to
- Modeler
- Reference
BehavioredClassifier interface
A BehavioredClassifier may have InterfaceRealizations, and owns a set of Behaviors one of which may specify the behavior of the BehavioredClassifier itself.
Inheritance Hierarchy
BehavioredClassifier | ⇾Classifier | ⇾Type | ⇾PackageableElement | ⇾NamedElement | ⇾Element |
⇾RedefinableElement | ⇾NamedElement | ⇾Element |
Attributes
Name | Type | Description |
---|---|---|
appliedStereotypes | Stereotype [0..*] | Indicates which stereotypes from the selected profile (or profiles) are applied to the element. The selected profiles are the profiles that are applied to the containing package. Inherited from Element. |
generalizations | Generalization [0..*] | The Generalization relationships for this Classifier. These Generalizations navigate to more general Classifiers in the generalization hierarchy. Inherited from Classifier. |
id | string | Gets the unique ID of the element. Inherited from Element. |
interfaceRealizations | InterfaceRealization [0..*] | The set of InterfaceRealizations owned by the BehavioredClassifier. Interface realizations reference the Interfaces of which the BehavioredClassifier is an implementation. |
isAbstract | boolean | If true, the Classifier can only be instantiated by instantiating one of its specializations. An abstract Classifier is intended to be used by other Classifiers e.g., as the target of Associations or Generalizations. Inherited from Classifier. |
isDeprecated | boolean | If true, using this element should be avoided, typically because it has been superseded. Inherited from NamedElement. |
isFinalSpecialization | boolean | If true, the Classifier cannot be specialized. Inherited from Classifier. |
isInferred | boolean [1..1] | If true, the type was inferred by a tool, for example during data import. An inferred type is never owned by any Package. Inherited from Type. |
isLeaf | boolean | Indicates whether it is possible to further redefine a RedefinableElement. If the value is true, then it is not possible to further redefine the RedefinableElement. Inherited from RedefinableElement. |
name | string | The name of the NamedElement. Inherited from NamedElement. |
ownedComments | Comment [0..*] | The Comments owned by this Element. Inherited from Element. |
owner | Element [0..1] | Gets the element that owns this element. Inherited from Element. |
package | Package | Gets the package that owns the packageable element. This property is derived. Inherited from PackageableElement. |
taggedValues | TaggedValueSpecification [0..*] | Contains 0 or more tagged values for the element. Inherited from Element. |
visibility | VisibilityKind [0..1] | Determines whether and how the NamedElement is visible outside its owning Namespace. Inherited from NamedElement. |
Operations
Name | Returns | Description | ||||||
---|---|---|---|---|---|---|---|---|
getAllParents()BehavioredClassifier.getAllParentsX | Classifier [0..*] | Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more specific classifiers will appear before more general classifiers. Inherited from Classifier. | ||||||
getAllSpecializations()BehavioredClassifier.getAllSpecializationsXGets all classifiers of which this element is a direct or indirect general. Return valueType: Classifier [0..*] | Classifier [0..*] | Gets all classifiers of which this element is a direct or indirect general. Inherited from Classifier. | ||||||
getFirstCommentBody()BehavioredClassifier.getFirstCommentBodyXGets the text contents of the first comment in the element's owned comments, or an empty string if the element has no comments. Return valueType: string [1..1]The body string of the first comment. If the element has no comments, an empty string is returned. | string [1..1] | Gets the text contents of the first comment in the element's owned comments, or an empty string if the element has no comments. Inherited from Element. | ||||||
getFirstGeneralization()BehavioredClassifier.getFirstGeneralizationXGets the first direct generalization relationship of the element. Return valueType: Generalization [0..1] | Generalization [0..1] | Gets the first direct generalization relationship of the element. Inherited from Classifier. | ||||||
getFirstParent()BehavioredClassifier.getFirstParentXGets the first classifier that is an immediate general of the current element. Return valueType: Classifier [0..1] | Classifier [0..1] | Gets the first classifier that is an immediate general of the current element. Inherited from Classifier. | ||||||
getNamespaceName(separator)BehavioredClassifier.getNamespaceNameXConstructs a name from the names of the nesting packages. The name is constructed working inwards from the package that is defined as namespace root up to but not including the PackageableElement itself. Parameters
Return valueType: stringA single string with all the names separated. | string | Constructs a name from the names of the nesting packages. The name is constructed working inwards from the package that is defined as namespace root up to but not including the PackageableElement itself. Inherited from PackageableElement. | ||||||
getNestingPackages() | Package [0..*] | Gets all packages that contain this Package, working inwards from the top Package to the owning package. Inherited from PackageableElement. | ||||||
getParents()BehavioredClassifier.getParentsXGives all of the immediate ancestors of a generalized Classifier. Return valueType: Classifier [0..*] | Classifier [0..*] | Gives all of the immediate ancestors of a generalized Classifier. Inherited from Classifier. | ||||||
getQualifiedName(separator)BehavioredClassifier.getQualifiedNameXConstructs a name from the PackageableElement and the names of the nesting packages. The name is constructed working inwards from the package that is defined as namespace root up to and including the PackageableElement itself. Parameters
Return valueType: stringA single string with all the names separated. | string | Constructs a name from the PackageableElement and the names of the nesting packages. The name is constructed working inwards from the package that is defined as namespace root up to and including the PackageableElement itself. Inherited from PackageableElement. | ||||||
getSpecializations()BehavioredClassifier.getSpecializationsXGets all classifiers of which this classifier is a direct general. Return valueType: Classifier [0..*] | Classifier [0..*] | Gets all classifiers of which this classifier is a direct general. Inherited from Classifier. | ||||||
getSuperTypes()BehavioredClassifier.getSuperTypesXGets the super types of this type, derived from its Generalizations. Return valueType: this [0..*] | this [0..*] | Gets the super types of this type, derived from its Generalizations. Inherited from Classifier. |