public interface BehavioredClassifier extends Classifier
The following features are supported:
UMLPackage.getBehavioredClassifier()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Behavior |
createClassifierBehavior(String name,
EClass eClass)
Creates a new
Behavior , with the specified 'Name', and sets the '
Classifier Behavior' reference |
InterfaceRealization |
createInterfaceRealization(String name,
Interface contract)
Creates a new
InterfaceRealization , with the specified 'Name', and '
Contract', and appends it to the 'Interface Realization' containment reference list |
Behavior |
createOwnedBehavior(String name,
EClass eClass)
Creates a new
Behavior , with the specified 'Name', and appends it to the '
Owned Behavior' containment reference list |
Trigger |
createOwnedTrigger(String name)
Creates a new
Trigger , with the specified 'Name', and appends it to the '
Owned Trigger' containment reference list |
MDWEList<Interface> |
getAllImplementedInterfaces()
Retrieves all the interfaces on which this behaviored classifier or any of its parents has an interface realization dependency
|
Behavior |
getClassifierBehavior()
Returns the value of the 'Classifier Behavior' reference
|
MDWEList<Interface> |
getImplementedInterfaces()
Retrieves the interfaces on which this behaviored classifier has an interface realization dependency
|
InterfaceRealization |
getInterfaceRealization(String name,
Interface contract)
Retrieves the first
InterfaceRealization with the specified 'Name', and '
Contract' from the 'Interface Realization' containment reference list |
InterfaceRealization |
getInterfaceRealization(String name,
Interface contract,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
InterfaceRealization with the specified 'Name', and '
Contract' from the 'Interface Realization' containment reference list |
MDWEList<InterfaceRealization> |
getInterfaceRealizations()
Returns the value of the 'Interface Realization' containment reference list.
|
Behavior |
getOwnedBehavior(String name)
Retrieves the first
Behavior with the specified 'Name' from the '
Owned Behavior' containment reference list |
Behavior |
getOwnedBehavior(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
Behavior with the specified 'Name' from the '
Owned Behavior' containment reference list |
MDWEList<Behavior> |
getOwnedBehaviors()
Returns the value of the 'Owned Behavior' containment reference list.
|
Trigger |
getOwnedTrigger(String name)
Retrieves the first
Trigger with the specified 'Name' from the '
Owned Trigger' containment reference list |
Trigger |
getOwnedTrigger(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Trigger with the specified 'Name' from the '
Owned Trigger' containment reference list |
MDWEList<Trigger> |
getOwnedTriggers()
Returns the value of the 'Owned Trigger' containment reference list.
|
void |
setClassifierBehavior(Behavior value)
Sets the value of the '
Classifier Behavior '
reference |
boolean |
validateClassBehavior(DiagnosticChain diagnostics,
Map context)
If a behavior is classifier behavior, it does not have a specification.
|
allFeatures, allParents, conformsTo, createCollaborationUse, createGeneralization, createOwnedUseCase, createRepresentation, createSubstitution, getAllAttributes, getAllOperations, getAllUsedInterfaces, getAttribute, getAttribute, getAttributes, getCollaborationUse, getCollaborationUse, getCollaborationUses, getFeature, getFeature, getFeatures, getGeneral, getGeneral, getGeneralization, getGeneralization, getGeneralizations, getGenerals, getInheritedMember, getInheritedMember, getInheritedMembers, getOperation, getOperation, getOperations, getOwnedUseCase, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitution, getSubstitutions, getUseCase, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, isAbstract, isFinalSpecialization, maySpecializeType, parents, setIsAbstract, setIsFinalSpecialization, setRepresentation, validateGeneralizationHierarchies, validateMapsToGeneralizationSet, validateNoCyclesInGeneralization, validateSpecializeType
createElementImport, createElementImport, createOwnedDiagram, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedDiagrams, getOwnedDiagrams, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateMembersDistinguishable
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
conformsTo, createAssociation, getAssociations, getPackage, setPackage
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature
MDWEList<Behavior> getOwnedBehaviors()
Behavior
.
References behavior specifications owned by a classifier.
UMLPackage.getBehavioredClassifier_OwnedBehavior()
Behavior createOwnedBehavior(String name, EClass eClass)
Behavior
, with the specified 'Name', and appends it to the '
Owned Behavior' containment reference list.
name
- The 'Name' for the new Behavior
, or null
.eClass
- The Ecore class of the Behavior
to create.Behavior
.getOwnedBehaviors()
Behavior getOwnedBehavior(String name)
Behavior
with the specified 'Name' from the '
Owned Behavior' containment reference list.
name
- The 'Name' of the Behavior
to retrieve, or null
.Behavior
with the specified 'Name', or null
.getOwnedBehaviors()
Behavior getOwnedBehavior(String name, boolean ignoreCase, EClass eClass, boolean createOnDemand)
Behavior
with the specified 'Name' from the '
Owned Behavior' containment reference list.
name
- The 'Name' of the Behavior
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Behavior
to retrieve, or null
.createOnDemand
- Whether to create a Behavior
on demand if not found.Behavior
with the specified 'Name', or null
.getOwnedBehaviors()
Behavior getClassifierBehavior()
setClassifierBehavior(Behavior)
,
UMLPackage.getBehavioredClassifier_ClassifierBehavior()
void setClassifierBehavior(Behavior value)
Classifier Behavior
'
reference.
value
- the new value of the 'Classifier Behavior' reference.getClassifierBehavior()
Behavior createClassifierBehavior(String name, EClass eClass)
Behavior
, with the specified 'Name', and sets the '
Classifier Behavior' reference.
name
- The 'Name' for the new Behavior
, or null
.eClass
- The Ecore class of the Behavior
to create.Behavior
.getClassifierBehavior()
MDWEList<InterfaceRealization> getInterfaceRealizations()
InterfaceRealization
.
It is bidirectional and its opposite is 'Implementing Classifier
'.
The set of InterfaceRealizations owned by the BehavioredClassifier. Interface realizations reference the Interfaces of which the
BehavioredClassifier is an implementation.
UMLPackage.getBehavioredClassifier_InterfaceRealization()
,
InterfaceRealization.getImplementingClassifier()
InterfaceRealization createInterfaceRealization(String name, Interface contract)
InterfaceRealization
, with the specified 'Name', and '
Contract', and appends it to the 'Interface Realization' containment reference list.
name
- The 'Name' for the new InterfaceRealization
, or null
.contract
- The 'Contract' for the new InterfaceRealization
, or null
.InterfaceRealization
.getInterfaceRealizations()
InterfaceRealization getInterfaceRealization(String name, Interface contract)
InterfaceRealization
with the specified 'Name', and '
Contract' from the 'Interface Realization' containment reference list.
name
- The 'Name' of the InterfaceRealization
to retrieve, or null
.contract
- The 'Contract' of the InterfaceRealization
to retrieve, or null
.InterfaceRealization
with the specified 'Name', and '
Contract', or null
.getInterfaceRealizations()
InterfaceRealization getInterfaceRealization(String name, Interface contract, boolean ignoreCase, boolean createOnDemand)
InterfaceRealization
with the specified 'Name', and '
Contract' from the 'Interface Realization' containment reference list.
name
- The 'Name' of the InterfaceRealization
to retrieve, or null
.contract
- The 'Contract' of the InterfaceRealization
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a InterfaceRealization
on demand if not found.InterfaceRealization
with the specified 'Name', and '
Contract', or null
.getInterfaceRealizations()
MDWEList<Trigger> getOwnedTriggers()
Trigger
.
References Trigger descriptions owned by a Classifier.
UMLPackage.getBehavioredClassifier_OwnedTrigger()
Trigger createOwnedTrigger(String name)
Trigger
, with the specified 'Name', and appends it to the '
Owned Trigger' containment reference list.
name
- The 'Name' for the new Trigger
, or null
.Trigger
.getOwnedTriggers()
Trigger getOwnedTrigger(String name)
Trigger
with the specified 'Name' from the '
Owned Trigger' containment reference list.
name
- The 'Name' of the Trigger
to retrieve, or null
.Trigger
with the specified 'Name', or null
.getOwnedTriggers()
Trigger getOwnedTrigger(String name, boolean ignoreCase, boolean createOnDemand)
Trigger
with the specified 'Name' from the '
Owned Trigger' containment reference list.
name
- The 'Name' of the Trigger
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Trigger
on demand if not found.Trigger
with the specified 'Name', or null
.getOwnedTriggers()
boolean validateClassBehavior(DiagnosticChain diagnostics, Map context)
MDWEList<Interface> getImplementedInterfaces()