public interface State extends Namespace, RedefinableElement, Vertex
The following features are supported:
UMLPackage.getState()
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ObjectNode> |
get_objectNodeOfInState()
Returns the value of the 'object Node Of In State' reference list.
|
java.util.Collection<State> |
get_stateOfRedefinedState()
Returns the value of the 'state Of Redefined State' reference list.
|
java.util.Collection<ConnectionPointReference> |
getConnection()
Returns the value of the 'Connection' containment reference list.
|
java.util.Collection<Pseudostate> |
getConnectionPoint()
Returns the value of the 'Connection Point' containment reference list.
|
java.util.Collection<Trigger> |
getDeferrableTrigger()
Returns the value of the 'Deferrable Trigger' containment reference list.
|
Behavior |
getDoActivity()
Returns the value of the 'Do Activity' containment reference.
|
Behavior |
getEntry()
Returns the value of the 'Entry' containment reference.
|
Behavior |
getExit()
Returns the value of the 'Exit' containment reference.
|
State |
getRedefinedState()
Returns the value of the 'Redefined State' reference.
|
java.util.Collection<Classifier> |
getRedefinitionContext()
Returns the value of the 'Redefinition Context' reference list.
|
java.util.Collection<Region> |
getRegion()
Returns the value of the 'Region' containment reference list.
|
Constraint |
getStateInvariant()
Returns the value of the 'State Invariant' reference.
|
StateMachine |
getSubmachine()
Returns the value of the 'Submachine' reference.
|
boolean |
has_objectNodeOfInState() |
boolean |
has_stateOfRedefinedState() |
boolean |
hasConnection() |
boolean |
hasConnectionPoint() |
boolean |
hasDeferrableTrigger() |
boolean |
hasRegion() |
boolean |
isComposite()
Returns the value of the 'Composite' attribute.
|
boolean |
isOrthogonal()
Returns the value of the 'Orthogonal' attribute.
|
boolean |
isSimple()
Returns the value of the 'Simple' attribute.
|
boolean |
isSubmachineState()
Returns the value of the 'Submachine State' attribute.
|
void |
setDoActivity(Behavior value)
Sets the value of the '
Do Activity ' containment reference. |
void |
setEntry(Behavior value)
Sets the value of the '
Entry ' containment reference. |
void |
setExit(Behavior value)
Sets the value of the '
Exit ' containment reference. |
void |
setRedefinedState(State value)
Sets the value of the '
Redefined State ' reference. |
void |
setStateInvariant(Constraint value)
Sets the value of the '
State Invariant ' reference. |
void |
setSubmachine(StateMachine value)
Sets the value of the '
Submachine ' reference. |
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
get_redefinableElementOfRedefinedElement, getRedefinedElement, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
getContainer, getIncoming, getOutgoing, hasIncoming, hasOutgoing, setContainer
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
StateMachine getSubmachine()
Submachine State
'.
The StateMachine that is to be inserted in place of the (submachine) State.
setSubmachine(StateMachine)
,
UMLPackage.getState_Submachine()
,
StateMachine.getSubmachineState()
void setSubmachine(StateMachine value)
Submachine
' reference.
value
- the new value of the 'Submachine' reference.getSubmachine()
java.util.Collection<ConnectionPointReference> getConnection()
ConnectionPointReference
.
It is bidirectional and its opposite is 'State
'.
The entry and exit connection points used in conjunction with this (submachine) State, i.e., as targets and sources, respectively, in the Region with the submachine State. A connection point reference references the corresponding definition of a connection point Pseudostate in the StateMachine referenced by the submachine State.
UMLPackage.getState_Connection()
,
ConnectionPointReference.getState()
State getRedefinedState()
state Of Redefined State
'.
The State of which this State is a redefinition.
setRedefinedState(State)
,
UMLPackage.getState_RedefinedState()
,
get_stateOfRedefinedState()
void setRedefinedState(State value)
Redefined State
' reference.
value
- the new value of the 'Redefined State' reference.getRedefinedState()
java.util.Collection<State> get_stateOfRedefinedState()
State
.
It is bidirectional and its opposite is 'Redefined State
'.
If the meaning of the 'state Of Redefined State' reference isn't clear, there really should be more of a description here...
UMLPackage.getState__stateOfRedefinedState()
,
getRedefinedState()
java.util.Collection<Region> getRegion()
Region
.
It is bidirectional and its opposite is 'State
'.
The Regions owned directly by the State.
UMLPackage.getState_Region()
,
Region.getState()
Constraint getStateInvariant()
Owning State
'.
Specifies conditions that are always true when this State is the current State. In ProtocolStateMachines state invariants are additional conditions to the preconditions of the outgoing Transitions, and to the postcondition of the incoming Transitions.
setStateInvariant(Constraint)
,
UMLPackage.getState_StateInvariant()
,
Constraint.getOwningState()
void setStateInvariant(Constraint value)
State Invariant
' reference.
value
- the new value of the 'State Invariant' reference.getStateInvariant()
Behavior getEntry()
state Of Entry
'.
An optional Behavior that is executed whenever this State is entered regardless of the Transition taken to reach the State. If defined, entry Behaviors are always executed to completion prior to any internal Behavior or Transitions performed within the State.
setEntry(Behavior)
,
UMLPackage.getState_Entry()
,
Behavior.get_stateOfEntry()
void setEntry(Behavior value)
Entry
' containment reference.
value
- the new value of the 'Entry' containment reference.getEntry()
Behavior getExit()
state Of Exit
'.
An optional Behavior that is executed whenever this State is exited regardless of which Transition was taken out of the State. If defined, exit Behaviors are always executed to completion only after all internal and transition Behaviors have completed execution.
setExit(Behavior)
,
UMLPackage.getState_Exit()
,
Behavior.get_stateOfExit()
void setExit(Behavior value)
Exit
' containment reference.
value
- the new value of the 'Exit' containment reference.getExit()
boolean isComposite()
UMLPackage.getState_Composite()
boolean isOrthogonal()
UMLPackage.getState_Orthogonal()
boolean isSimple()
UMLPackage.getState_Simple()
boolean isSubmachineState()
UMLPackage.getState_SubmachineState()
Behavior getDoActivity()
state Of Do Activity
'.
An optional Behavior that is executed while being in the State. The execution starts when this State is entered, and ceases either by itself when done, or when the State is exited, whichever comes first.
setDoActivity(Behavior)
,
UMLPackage.getState_DoActivity()
,
Behavior.get_stateOfDoActivity()
void setDoActivity(Behavior value)
Do Activity
' containment reference.
value
- the new value of the 'Do Activity' containment reference.getDoActivity()
java.util.Collection<Trigger> getDeferrableTrigger()
Trigger
.
It is bidirectional and its opposite is 'state Of Deferrable Trigger
'.
A list of Triggers that are candidates to be retained by the StateMachine if they trigger no Transitions out of the State (not consumed). A deferred Trigger is retained until the StateMachine reaches a State configuration where it is no longer deferred.
UMLPackage.getState_DeferrableTrigger()
,
Trigger.get_stateOfDeferrableTrigger()
java.util.Collection<ObjectNode> get_objectNodeOfInState()
ObjectNode
.
It is bidirectional and its opposite is 'In State
'.
If the meaning of the 'object Node Of In State' reference list isn't clear, there really should be more of a description here...
UMLPackage.getState__objectNodeOfInState()
,
ObjectNode.getInState()
java.util.Collection<Pseudostate> getConnectionPoint()
Pseudostate
.
It is bidirectional and its opposite is 'State
'.
The entry and exit Pseudostates of a composite State. These can only be entry or exit Pseudostates, and they must have different names. They can only be defined for composite States.
UMLPackage.getState_ConnectionPoint()
,
Pseudostate.getState()
java.util.Collection<Classifier> getRedefinitionContext()
Classifier
.
It is bidirectional and its opposite is 'state Of Redefinition Context
'.
References the Classifier in which context this element may be redefined.
getRedefinitionContext
in interface RedefinableElement
UMLPackage.getState_RedefinitionContext()
,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier#get_stateOfRedefinitionContext
boolean hasConnection() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasRegion() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasDeferrableTrigger() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_stateOfRedefinedState() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_objectNodeOfInState() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasConnectionPoint() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException