|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A representation of the model object 'Behaviored Classifier'. A classifier can have behavior specifications defined in its namespace. One of these may specify the behavior of the classifier itself.
The following features are supported:
UML2Package.getBehavioredClassifier()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Fields inherited from interface org.eclipse.uml2.NamedElement |
|---|
SEPARATOR |
| Method Summary | |
|---|---|
Implementation |
createImplementation()
Creates a Implementation and appends it to the 'Implementation' containment reference list |
Implementation |
createImplementation(EClass eClass)
Deprecated. Use #createImplementation() instead. |
Implementation |
createImplementation(Interface contract)
Creates an implementation where this behaviored classifier is the implementing classifier and the specified interface is the contract. |
Behavior |
createOwnedBehavior(EClass eClass)
Creates a Behavior and appends it to the 'Owned Behavior' containment reference list |
StateMachine |
createOwnedStateMachine()
Creates a StateMachine and appends it to the 'Owned State Machine' containment reference list |
StateMachine |
createOwnedStateMachine(EClass eClass)
Creates a StateMachine and appends it to the 'Owned State Machine' containment reference list |
Trigger |
createOwnedTrigger(EClass eClass)
Creates a Trigger and appends it to the 'Owned Trigger' containment reference list |
java.util.Set |
getAllImplementedInterfaces()
Retrieves the interfaces on which this behaviored classifier or any of its parents has an implementation dependency. |
Behavior |
getClassifierBehavior()
Returns the value of the 'Classifier Behavior' reference |
Implementation |
getImplementation(java.lang.String name)
Retrieves the Implementation with the specified 'Name' from the 'Implementation' containment reference list |
EList |
getImplementations()
Returns the value of the 'Implementation' containment reference list. |
java.util.Set |
getImplementedInterfaces()
Retrieves the interfaces on which this behaviored classifier has an implementation dependency. |
Behavior |
getOwnedBehavior(java.lang.String name)
Retrieves the Behavior with the specified 'Name' from the 'Owned Behavior' containment reference list |
EList |
getOwnedBehaviors()
Returns the value of the 'Owned Behavior' containment reference list. |
StateMachine |
getOwnedStateMachine(java.lang.String name)
Retrieves the StateMachine with the specified 'Name' from the 'Owned State Machine' containment reference list |
EList |
getOwnedStateMachines()
Returns the value of the 'Owned State Machine' containment reference list. |
Trigger |
getOwnedTrigger(java.lang.String name)
Retrieves the Trigger with the specified 'Name' from the 'Owned Trigger' containment reference list |
EList |
getOwnedTriggers()
Returns the value of the 'Owned Trigger' containment reference list. |
void |
setClassifierBehavior(Behavior value)
Sets the value of the ' Classifier Behavior' reference |
| Methods inherited from interface org.eclipse.uml2.NamedElement |
|---|
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
| Methods inherited from interface org.eclipse.uml2.TemplateableElement |
|---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
| Methods inherited from interface org.eclipse.uml2.Element |
|---|
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.uml2.Type |
|---|
conformsTo, createAssociation, getPackage |
| Methods inherited from interface org.eclipse.uml2.PackageableElement |
|---|
getPackageableElement_visibility, setPackageableElement_visibility |
| Methods inherited from interface org.eclipse.uml2.ParameterableElement |
|---|
getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
| Methods inherited from interface org.eclipse.uml2.RedefinableElement |
|---|
getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
| Field Detail |
public static final java.lang.String copyright
| Method Detail |
public EList getOwnedBehaviors()
Behavior.
It is bidirectional and its opposite is 'Context'.
If the meaning of the 'Owned Behavior' containment reference list isn't clear, there really should be more of a description here...
References behavior specifications owned by a classifier. (Specializes Namespace.owned- Member.)
UML2Package.getBehavioredClassifier_OwnedBehavior(),
Behavior.getContext()public Behavior getOwnedBehavior(java.lang.String name)
Behavior with the specified 'Name' from the 'Owned Behavior' containment reference list.
name - The 'Name' of the Behavior to retrieve.
Behavior with the specified 'Name', or null.getOwnedBehaviors()public Behavior createOwnedBehavior(EClass eClass)
Behavior and appends it to the 'Owned Behavior' containment reference list.
eClass - The Ecore class of the Behavior to create.
Behavior.getOwnedBehaviors()public Behavior getClassifierBehavior()
If the meaning of the 'Classifier Behavior' reference isn't clear, there really should be more of a description here...
A behavior specification that specifies the behavior of the classifier itself. (Specializes BehavioredClassifier.ownedBehavior.)
setClassifierBehavior(Behavior),
UML2Package.getBehavioredClassifier_ClassifierBehavior()public void setClassifierBehavior(Behavior value)
Classifier Behavior' reference.
value - the new value of the 'Classifier Behavior' reference.getClassifierBehavior()public EList getImplementations()
Implementation.
It is bidirectional and its opposite is 'Implementing Classifier'.
If the meaning of the 'Implementation' containment reference list isn't clear, there really should be more of a description here...
(Specializes Element.ownedElement and Realization.clientDependency.)
UML2Package.getBehavioredClassifier_Implementation(),
Implementation.getImplementingClassifier()public Implementation getImplementation(java.lang.String name)
Implementation with the specified 'Name' from the 'Implementation' containment reference list.
name - The 'Name' of the Implementation to retrieve.
Implementation with the specified 'Name', or null.getImplementations()public Implementation createImplementation(EClass eClass)
Implementation and appends it to the 'Implementation' containment reference list.
eClass - The Ecore class of the Implementation to create.
Implementation.getImplementations()public Implementation createImplementation()
Implementation and appends it to the 'Implementation' containment reference list.
Implementation.getImplementations()public EList getOwnedTriggers()
Trigger.
If the meaning of the 'Owned Trigger' containment reference list isn't clear, there really should be more of a description here...
UML2Package.getBehavioredClassifier_OwnedTrigger()public Trigger getOwnedTrigger(java.lang.String name)
Trigger with the specified 'Name' from the 'Owned Trigger' containment reference list.
name - The 'Name' of the Trigger to retrieve.
Trigger with the specified 'Name', or null.getOwnedTriggers()public Trigger createOwnedTrigger(EClass eClass)
Trigger and appends it to the 'Owned Trigger' containment reference list.
eClass - The Ecore class of the Trigger to create.
Trigger.getOwnedTriggers()public EList getOwnedStateMachines()
StateMachine.
It is bidirectional and its opposite is 'State Machine redefinition Context'.
If the meaning of the 'Owned State Machine' containment reference list isn't clear, there really should be more of a description here...
UML2Package.getBehavioredClassifier_OwnedStateMachine(),
StateMachine.getStateMachine_redefinitionContext()public StateMachine getOwnedStateMachine(java.lang.String name)
StateMachine with the specified 'Name' from the 'Owned State Machine' containment reference list.
name - The 'Name' of the StateMachine to retrieve.
StateMachine with the specified 'Name', or null.getOwnedStateMachines()public StateMachine createOwnedStateMachine(EClass eClass)
StateMachine and appends it to the 'Owned State Machine' containment reference list.
eClass - The Ecore class of the StateMachine to create.
StateMachine.getOwnedStateMachines()public StateMachine createOwnedStateMachine()
StateMachine and appends it to the 'Owned State Machine' containment reference list.
StateMachine.getOwnedStateMachines()public java.util.Set getImplementedInterfaces()
public java.util.Set getAllImplementedInterfaces()
public Implementation createImplementation(Interface contract)
contract - The contract for the implementation.
java.lang.IllegalArgumentException - If this behaviored classifier or any of its parents is
already an implementing classifier of the interface.
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||