Interface StateMachine
- All Superinterfaces:
BaseElement,Behavior,BehavioredClassifier,Class,Classifier,Cloneable,Comparable,Element,EncapsulatedClassifier,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,ModelObject,NamedElement,Namespace,org.eclipse.emf.common.notify.Notifier,PackageableElement,ParameterableElement,RedefinableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject,StructuredClassifier,TemplateableElement,Type
- All Known Subinterfaces:
ProtocolStateMachine
A representation of the model object 'State Machine'.
StateMachines can be used to express event-driven behaviors of parts of a system. Behavior is modeled as a traversal of a graph of Vertices interconnected by one or more joined Transition arcs that are triggered by the dispatching of successive Event occurrences. During this traversal, the StateMachine may execute a sequence of Behaviors associated with various elements of the StateMachine.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='statemachines.mdbehaviorstatemachines'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'state Machine Of Extended State Machine' reference list.Returns the value of the 'Connection Point' containment reference list.Returns the value of the 'Extended State Machine' reference list.Returns the value of the 'Region' containment reference list.Returns the value of the 'Submachine State' reference list.booleanbooleanbooleanbooleanbooleanMethods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdbasicbehaviors.Behavior
get_behavioredClassifierOfClassifierBehavior, get_behavioredClassifierOfOwnedBehavior, get_behaviorExecutionSpecificationOfBehavior, get_behaviorOfRedefinedBehavior, get_callBehaviorActionOfBehavior, get_connectorOfContract, get_decisionNodeOfDecisionInput, get_objectFlowOfSelection, get_objectFlowOfTransformation, get_objectNodeOfSelection, get_opaqueExpressionOfBehavior, get_reduceActionOfReducer, get_stateOfDoActivity, get_stateOfEntry, get_stateOfExit, get_transitionOfEffect, getContext, getEvent, getObservation, getOwnedParameter, getOwnedParameterSet, getPostcondition, getPrecondition, getRedefinedBehavior, getSpecification, has_behaviorExecutionSpecificationOfBehavior, has_behaviorOfRedefinedBehavior, has_callBehaviorActionOfBehavior, has_connectorOfContract, has_decisionNodeOfDecisionInput, has_objectFlowOfSelection, has_objectFlowOfTransformation, has_objectNodeOfSelection, has_opaqueExpressionOfBehavior, has_reduceActionOfReducer, hasEvent, hasObservation, hasOwnedParameter, hasOwnedParameterSet, hasPostcondition, hasPrecondition, hasRedefinedBehavior, isReentrant, set_behavioredClassifierOfClassifierBehavior, set_behavioredClassifierOfOwnedBehavior, set_stateOfDoActivity, set_stateOfEntry, set_stateOfExit, set_transitionOfEffect, setReentrant, setSpecificationMethods inherited from interface com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdbasicbehaviors.BehavioredClassifier
getClassifierBehavior, getInterfaceRealization, getOwnedBehavior, hasInterfaceRealization, hasOwnedBehavior, setClassifierBehaviorMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class
getExtension, getNestedClassifier, getOwnedAttribute, getOwnedOperation, getOwnedReception, getSuperClass, hasExtension, hasNestedClassifier, hasOwnedOperation, hasOwnedReception, hasSuperClass, isAbstract, isActive, setAbstract, setActiveMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier
get_classifierOfRedefinedClassifier, get_classifierTemplateParameterOfConstrainingClassifier, get_componentRealizationOfRealizingClassifier, get_createObjectActionOfClassifier, get_exceptionHandlerOfExceptionType, get_generalizationOfGeneral, get_informationFlowOfConveyed, get_informationItemOfRepresented, get_instanceSpecificationOfClassifier, get_interfaceOfNestedClassifier, get_readExtentActionOfClassifier, get_readIsClassifiedObjectActionOfClassifier, get_reclassifyObjectActionOfNewClassifier, get_reclassifyObjectActionOfOldClassifier, get_redefinableElementOfRedefinitionContext, get_substitutionOfContract, get_unmarshallActionOfUnmarshallType, getAttribute, getCollaborationUse, getFeature, getGeneral, getGeneralization, getInheritedMember, getOwnedTemplateSignature, getOwnedUseCase, getPowertypeExtent, getRedefinedClassifier, getRepresentation, getSubstitution, getTemplateParameter, getUMLClass, getUseCase, has_classifierOfRedefinedClassifier, has_classifierTemplateParameterOfConstrainingClassifier, has_componentRealizationOfRealizingClassifier, has_createObjectActionOfClassifier, has_exceptionHandlerOfExceptionType, has_generalizationOfGeneral, has_informationFlowOfConveyed, has_informationItemOfRepresented, has_instanceSpecificationOfClassifier, has_readExtentActionOfClassifier, has_readIsClassifiedObjectActionOfClassifier, has_reclassifyObjectActionOfNewClassifier, has_reclassifyObjectActionOfOldClassifier, has_redefinableElementOfRedefinitionContext, has_substitutionOfContract, has_unmarshallActionOfUnmarshallType, hasAttribute, hasCollaborationUse, hasFeature, hasGeneral, hasGeneralization, hasInheritedMember, hasOwnedUseCase, hasPowertypeExtent, hasRedefinedClassifier, hasSubstitution, hasUseCase, isFinalSpecialization, set_interfaceOfNestedClassifier, setFinalSpecialization, setOwnedTemplateSignature, setRepresentation, setTemplateParameter, setUMLClassMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElementMethods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdports.EncapsulatedClassifier
getOwnedPort, hasOwnedPortMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, selfDispose, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespaceMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibilityMethods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameterMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositeMethods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdinternalstructures.StructuredClassifier
getOwnedConnector, getPart, getRole, hasOwnedAttribute, hasOwnedConnector, hasPart, hasRoleMethods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignatureMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Type
get_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackage
-
Method Details
-
getConnectionPoint
Collection<Pseudostate> getConnectionPoint()Returns the value of the 'Connection Point' containment reference list. The list contents are of typePseudostate. It is bidirectional and its opposite is 'State Machine'. The connection points defined for this StateMachine. They represent the interface of the StateMachine when used as part of submachine State- Returns:
- the value of the 'Connection Point' containment reference list.
- See Also:
- Model:
- opposite="stateMachine" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getSubmachineState
Collection<State> getSubmachineState()Returns the value of the 'Submachine State' reference list. The list contents are of typeState. It is bidirectional and its opposite is 'Submachine'. References the submachine(s) in case of a submachine State. Multiple machines are referenced in case of a concurrent State.- Returns:
- the value of the 'Submachine State' reference list.
- See Also:
- Model:
- opposite="submachine" ordered="false"
- Generated:
-
getExtendedStateMachine
Collection<StateMachine> getExtendedStateMachine()Returns the value of the 'Extended State Machine' reference list. The list contents are of typeStateMachine. It is bidirectional and its opposite is '.StateMachine#get_stateMachineOfExtendedStateMachine state Machine Of Extended State Machine'. The StateMachines of which this is an extension.- Returns:
- the value of the 'Extended State Machine' reference list.
- See Also:
- Model:
- opposite="_stateMachineOfExtendedStateMachine" ordered="false"
- Generated:
-
get_stateMachineOfExtendedStateMachine
Collection<StateMachine> get_stateMachineOfExtendedStateMachine()Returns the value of the 'state Machine Of Extended State Machine' reference list. The list contents are of typeStateMachine. It is bidirectional and its opposite is 'Extended State Machine'.If the meaning of the 'state Machine Of Extended State Machine' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'state Machine Of Extended State Machine' reference list.
- See Also:
- Model:
- opposite="extendedStateMachine" ordered="false"
- Generated:
-
getRegion
Collection<Region> getRegion()Returns the value of the 'Region' containment reference list. The list contents are of typeRegion. It is bidirectional and its opposite is 'State Machine'. The Regions owned directly by the StateMachine.- Returns:
- the value of the 'Region' containment reference list.
- See Also:
- Model:
- opposite="stateMachine" containment="true" resolveProxies="true" required="true" ordered="false"
- Generated:
-
hasConnectionPoint
boolean hasConnectionPoint() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasSubmachineState
boolean hasSubmachineState() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasExtendedStateMachine
boolean hasExtendedStateMachine() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
has_stateMachineOfExtendedStateMachine
boolean has_stateMachineOfExtendedStateMachine() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasRegion
boolean hasRegion() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-