public interface Pseudostate extends Vertex
From package UML::StateMachines.
The following features are supported:
UMLPackage.getPseudostate()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
PseudostateKind |
getKind()
Returns the value of the 'Kind' attribute.
|
State |
getState()
Returns the value of the 'State' container reference.
|
StateMachine |
getStateMachine()
Returns the value of the 'State Machine' container reference.
|
void |
setKind(PseudostateKind value)
Sets the value of the '
Kind ' attribute |
void |
setState(State value)
Sets the value of the '
State ' container reference |
void |
setStateMachine(StateMachine value)
Sets the value of the '
State Machine ' container reference |
boolean |
validateChoiceVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
In a complete statemachine, a choice Vertex must have at least one incoming and one outgoing Transition.
|
boolean |
validateForkVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
In a complete StateMachine, a fork Vertex must have at least two outgoing Transitions and exactly one incoming Transition.
|
boolean |
validateHistoryVertices(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
History Vertices can have at most one outgoing Transition.
|
boolean |
validateInitialVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An initial Vertex can have at most one outgoing Transition.
|
boolean |
validateJoinVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
In a complete StateMachine, a join Vertex must have at least two incoming Transitions and exactly one outgoing Transition.
|
boolean |
validateJunctionVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
In a complete StateMachine, a junction Vertex must have at least one incoming and one outgoing Transition.
|
boolean |
validateOutgoingFromInitial(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The outgoing Transition from an initial vertex may have a behavior, but not a trigger or a guard.
|
boolean |
validateTransitionsIncoming(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
All Transitions incoming a join Vertex must originate in different Regions of an orthogonal State.
|
boolean |
validateTransitionsOutgoing(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
All transitions outgoing a fork vertex must target states in different regions of an orthogonal state.
|
containingStateMachine, getContainer, getIncoming, getIncoming, getIncomings, getOutgoing, getOutgoing, getOutgoings, isContainedInRegion, isContainedInState, setContainer
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
PseudostateKind getKind()
"initial"
.
The literals are from the enumeration PseudostateKind
.
Determines the precise type of the Pseudostate and can be one of: entryPoint, exitPoint, initial, deepHistory, shallowHistory, join, fork, junction, terminate or choice.
From package UML::StateMachines.
PseudostateKind
,
setKind(PseudostateKind)
,
UMLPackage.getPseudostate_Kind()
void setKind(PseudostateKind value)
Kind
' attribute.
value
- the new value of the 'Kind' attribute.PseudostateKind
,
getKind()
StateMachine getStateMachine()
Connection Point
'.
This feature subsets the following features:
The StateMachine in which this Pseudostate is defined. This only applies to Pseudostates of the kind entryPoint or exitPoint.From package UML::StateMachines.
setStateMachine(StateMachine)
,
UMLPackage.getPseudostate_StateMachine()
,
StateMachine.getConnectionPoints()
void setStateMachine(StateMachine value)
State Machine
' container reference.
value
- the new value of the 'State Machine' container reference.getStateMachine()
State getState()
Connection Point
'.
This feature subsets the following features:
The State that owns this Pseudostate and in which it appears.From package UML::StateMachines.
setState(State)
,
UMLPackage.getPseudostate_State()
,
State.getConnectionPoints()
void setState(State value)
State
' container reference.
value
- the new value of the 'State' container reference.getState()
boolean validateInitialVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateHistoryVertices(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateJoinVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateTransitionsIncoming(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateForkVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateTransitionsOutgoing(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateJunctionVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateChoiceVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateOutgoingFromInitial(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.