org.eclipse.uml2
Interface BehavioredClassifier

All Superinterfaces:
Classifier, Element, EModelElement, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, TemplateableElement, Type
All Known Subinterfaces:
Activity, AssociationClass, Behavior, Class, Collaboration, Component, Device, ExecutionEnvironment, Interaction, Node, ProtocolStateMachine, StateMachine, Stereotype, UseCase

public interface BehavioredClassifier
extends Classifier

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:

See Also:
UML2Package.getBehavioredClassifier()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Implementation createImplementation(EClass eClass)
          Creates a Implementation and appends it to the 'Implementation' containment reference list
 Behavior createOwnedBehavior(EClass eClass)
          Creates a Behavior and appends it to the 'Owned Behavior' 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
 Behavior getClassifierBehavior()
          Returns the value of the 'Classifier Behavior' reference
 EList getClientDependencies()
           
 Implementation getImplementation(String unqualifiedName)
          Retrieves the Implementation with the specified name from the 'Implementation' containment reference list
 EList getImplementations()
          Returns the value of the 'Implementation' containment reference list.
 Set getImplementedInterfaces()
          Retrieves the interfaces on which this behaviored classifier has an implementation dependency.
 Behavior getOwnedBehavior(String unqualifiedName)
          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.
 EList getOwnedElements()
           
 EList getOwnedMembers()
           
 StateMachine getOwnedStateMachine(String unqualifiedName)
          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(String unqualifiedName)
          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.Classifier
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getAttributes, getFeature, getFeatures, getGeneral, getGeneralizations, getGenerals, getInheritedMember, getInheritedMembers, getMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRedefinedElements, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isAbstract, maySpecializeType, parents, setIsAbstract, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, 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, getNamespace, getPackage
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getOwnedBehaviors

public EList getOwnedBehaviors()
Returns the value of the 'Owned Behavior' containment reference list. The list contents are of type 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.)

Returns:
the value of the 'Owned Behavior' containment reference list.
See Also:
UML2Package.getBehavioredClassifier_OwnedBehavior(), Behavior.getContext()

getOwnedBehavior

public Behavior getOwnedBehavior(String unqualifiedName)
Retrieves the Behavior with the specified name from the 'Owned Behavior' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Behavior to retrieve.
Returns:
The Behavior with the specified name, or null.
See Also:
getOwnedBehaviors()

createOwnedBehavior

public Behavior createOwnedBehavior(EClass eClass)
Creates a Behavior and appends it to the 'Owned Behavior' containment reference list.

Parameters:
eClass - The Ecore class of the Behavior to create.
Returns:
The new Behavior.
See Also:
getOwnedBehaviors()

getClassifierBehavior

public Behavior getClassifierBehavior()
Returns the value of the 'Classifier Behavior' reference.

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.)

Returns:
the value of the 'Classifier Behavior' reference.
See Also:
setClassifierBehavior(Behavior), UML2Package.getBehavioredClassifier_ClassifierBehavior()

setClassifierBehavior

public void setClassifierBehavior(Behavior value)
Sets the value of the 'Classifier Behavior' reference.

Parameters:
value - the new value of the 'Classifier Behavior' reference.
See Also:
getClassifierBehavior()

getImplementations

public EList getImplementations()
Returns the value of the 'Implementation' containment reference list. The list contents are of type 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.)

Returns:
the value of the 'Implementation' containment reference list.
See Also:
UML2Package.getBehavioredClassifier_Implementation(), Implementation.getImplementingClassifier()

getImplementation

public Implementation getImplementation(String unqualifiedName)
Retrieves the Implementation with the specified name from the 'Implementation' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Implementation to retrieve.
Returns:
The Implementation with the specified name, or null.
See Also:
getImplementations()

createImplementation

public Implementation createImplementation(EClass eClass)
Creates a Implementation and appends it to the 'Implementation' containment reference list.

Parameters:
eClass - The Ecore class of the Implementation to create.
Returns:
The new Implementation.
See Also:
getImplementations()

getOwnedTriggers

public EList getOwnedTriggers()
Returns the value of the 'Owned Trigger' containment reference list. The list contents are of type Trigger.

If the meaning of the 'Owned Trigger' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owned Trigger' containment reference list.
See Also:
UML2Package.getBehavioredClassifier_OwnedTrigger()

getOwnedTrigger

public Trigger getOwnedTrigger(String unqualifiedName)
Retrieves the Trigger with the specified name from the 'Owned Trigger' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Trigger to retrieve.
Returns:
The Trigger with the specified name, or null.
See Also:
getOwnedTriggers()

createOwnedTrigger

public Trigger createOwnedTrigger(EClass eClass)
Creates a Trigger and appends it to the 'Owned Trigger' containment reference list.

Parameters:
eClass - The Ecore class of the Trigger to create.
Returns:
The new Trigger.
See Also:
getOwnedTriggers()

getOwnedStateMachines

public EList getOwnedStateMachines()
Returns the value of the 'Owned State Machine' containment reference list. The list contents are of type 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...

Returns:
the value of the 'Owned State Machine' containment reference list.
See Also:
UML2Package.getBehavioredClassifier_OwnedStateMachine(), StateMachine.getStateMachine_redefinitionContext()

getOwnedStateMachine

public StateMachine getOwnedStateMachine(String unqualifiedName)
Retrieves the StateMachine with the specified name from the 'Owned State Machine' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the StateMachine to retrieve.
Returns:
The StateMachine with the specified name, or null.
See Also:
getOwnedStateMachines()

createOwnedStateMachine

public StateMachine createOwnedStateMachine(EClass eClass)
Creates a StateMachine and appends it to the 'Owned State Machine' containment reference list.

Parameters:
eClass - The Ecore class of the StateMachine to create.
Returns:
The new StateMachine.
See Also:
getOwnedStateMachines()

getOwnedMembers

public EList getOwnedMembers()

Specified by:
getOwnedMembers in interface Classifier

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Classifier

getClientDependencies

public EList getClientDependencies()

Specified by:
getClientDependencies in interface Classifier

getImplementedInterfaces

public Set getImplementedInterfaces()
Retrieves the interfaces on which this behaviored classifier has an implementation dependency.

Returns:
The interfaces implemented by this behaviored classifier.

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.