org.eclipse.uml2
Interface StateMachine

All Superinterfaces:
Behavior, BehavioredClassifier, Class, Classifier, Element, EModelElement, EncapsulatedClassifier, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, StructuredClassifier, TemplateableElement, Type
All Known Subinterfaces:
ProtocolStateMachine

public interface StateMachine
extends Behavior

A representation of the model object 'State Machine'.

The following features are supported:

See Also:
UML2Package.getStateMachine()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Pseudostate createConnectionPoint(EClass eClass)
          Creates a Pseudostate and appends it to the 'Connection Point' containment reference list
 Region createRegion(EClass eClass)
          Creates a Region and appends it to the 'Region' containment reference list
 Pseudostate getConnectionPoint(String unqualifiedName)
          Retrieves the Pseudostate with the specified name from the 'Connection Point' containment reference list
 EList getConnectionPoints()
          Returns the value of the 'Connection Point' containment reference list.
 StateMachine getExtendedStateMachine()
          Returns the value of the 'Extended State Machine' reference
 EList getOwnedMembers()
           
 EList getRedefinedElements()
           
 EList getRedefinitionContexts()
           
 Region getRegion(String unqualifiedName)
          Retrieves the Region with the specified name from the 'Region' containment reference list
 EList getRegions()
          Returns the value of the 'Region' containment reference list.
 BehavioredClassifier getStateMachine_redefinitionContext()
          Returns the value of the 'State Machine redefinition Context' container reference.
 void setExtendedStateMachine(StateMachine value)
          Sets the value of the 'Extended State Machine' reference
 void setStateMachine_redefinitionContext(BehavioredClassifier value)
          Sets the value of the 'State Machine redefinition Context' container reference
 
Methods inherited from interface org.eclipse.uml2.Behavior
createOwnedParameterSet, createParameter, getContext, getFormalParameter, getFormalParameters, getOwnedParameterSet, getOwnedParameterSets, getOwnedRules, getParameter, getParameters, getPostcondition, getPostconditions, getPrecondition, getPreconditions, getRedefinedBehavior, getRedefinedBehaviors, getReturnResult, getReturnResults, getSpecification, isReentrant, setContext, setIsReentrant, setSpecification
 
Methods inherited from interface org.eclipse.uml2.Class
createNestedClassifier, createOwnedOperation, createOwnedReception, getAttributes, getExtension, getExtensions, getFeatures, getGenerals, getNestedClassifier, getNestedClassifiers, getOwnedAttributes, getOwnedOperation, getOwnedOperations, getOwnedReception, getOwnedReceptions, getSuperClass, getSuperClasses, inherit, isAbstract, isActive, isMetaclass, setIsAbstract, setIsActive
 
Methods inherited from interface org.eclipse.uml2.BehavioredClassifier
createImplementation, createOwnedBehavior, createOwnedStateMachine, createOwnedTrigger, getClassifierBehavior, getClientDependencies, getImplementation, getImplementations, getImplementedInterfaces, getOwnedBehavior, getOwnedBehaviors, getOwnedElements, getOwnedStateMachine, getOwnedStateMachines, getOwnedTrigger, getOwnedTriggers, setClassifierBehavior
 
Methods inherited from interface org.eclipse.uml2.Classifier
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getFeature, getGeneral, getGeneralizations, getInheritedMember, getInheritedMembers, getMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inheritableMembers, inheritedMember, maySpecializeType, parents, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, 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, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.EncapsulatedClassifier
createOwnedPort, getOwnedPort, getOwnedPorts
 
Methods inherited from interface org.eclipse.uml2.StructuredClassifier
createOwnedAttribute, createOwnedConnector, getMembers, getOwnedAttribute, getOwnedConnector, getOwnedConnectors, getPart, getParts, getRole, getRoles
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getRegions

public EList getRegions()
Returns the value of the 'Region' containment reference list. The list contents are of type Region. It is bidirectional and its opposite is 'State Machine'.

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

Returns:
the value of the 'Region' containment reference list.
See Also:
UML2Package.getStateMachine_Region(), Region.getStateMachine()

getRegion

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

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

createRegion

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

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

getConnectionPoints

public EList getConnectionPoints()
Returns the value of the 'Connection Point' containment reference list. The list contents are of type Pseudostate.

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

Returns:
the value of the 'Connection Point' containment reference list.
See Also:
UML2Package.getStateMachine_ConnectionPoint()

getConnectionPoint

public Pseudostate getConnectionPoint(String unqualifiedName)
Retrieves the Pseudostate with the specified name from the 'Connection Point' containment reference list.

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

createConnectionPoint

public Pseudostate createConnectionPoint(EClass eClass)
Creates a Pseudostate and appends it to the 'Connection Point' containment reference list.

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

getExtendedStateMachine

public StateMachine getExtendedStateMachine()
Returns the value of the 'Extended State Machine' reference.

If the meaning of the 'Extended State Machine' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Extended State Machine' reference.
See Also:
setExtendedStateMachine(StateMachine), UML2Package.getStateMachine_ExtendedStateMachine()

setExtendedStateMachine

public void setExtendedStateMachine(StateMachine value)
Sets the value of the 'Extended State Machine' reference.

Parameters:
value - the new value of the 'Extended State Machine' reference.
See Also:
getExtendedStateMachine()

getStateMachine_redefinitionContext

public BehavioredClassifier getStateMachine_redefinitionContext()
Returns the value of the 'State Machine redefinition Context' container reference. It is bidirectional and its opposite is 'Owned State Machine'.

If the meaning of the 'State Machine redefinition Context' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'State Machine redefinition Context' container reference.
See Also:
setStateMachine_redefinitionContext(BehavioredClassifier), UML2Package.getStateMachine_StateMachine_redefinitionContext(), BehavioredClassifier.getOwnedStateMachines()

setStateMachine_redefinitionContext

public void setStateMachine_redefinitionContext(BehavioredClassifier value)
Sets the value of the 'State Machine redefinition Context' container reference.

Parameters:
value - the new value of the 'State Machine redefinition Context' container reference.
See Also:
getStateMachine_redefinitionContext()

getRedefinedElements

public EList getRedefinedElements()

Specified by:
getRedefinedElements in interface Behavior

getRedefinitionContexts

public EList getRedefinitionContexts()

Specified by:
getRedefinitionContexts in interface RedefinableElement
Returns:
the value of the 'Redefinition Context' reference list.
See Also:
UML2Package.getRedefinableElement_RedefinitionContext()

getOwnedMembers

public EList getOwnedMembers()

Specified by:
getOwnedMembers in interface Behavior

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