public interface Pseudostate extends Vertex
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(DiagnosticChain diagnostics,
Map context)
In a complete statemachine, a choice vertex must have at least one incoming and one outgoing transition.
|
boolean |
validateForkVertex(DiagnosticChain diagnostics,
Map context)
In a complete statemachine, a fork vertex must have at least two outgoing transitions and exactly one incoming transition.
|
boolean |
validateHistoryVertices(DiagnosticChain diagnostics,
Map context)
History vertices can have at most one outgoing transition.
|
boolean |
validateInitialVertex(DiagnosticChain diagnostics,
Map context)
An initial vertex can have at most one outgoing transition.
|
boolean |
validateJoinVertex(DiagnosticChain diagnostics,
Map context)
In a complete statemachine, a join vertex must have at least two incoming transitions and exactly one outgoing transition.
|
boolean |
validateJunctionVertex(DiagnosticChain diagnostics,
Map context)
In a complete statemachine, a junction vertex must have at least one incoming and one outgoing transition.
|
boolean |
validateOutgoingFromInitial(DiagnosticChain diagnostics,
Map context)
The outgoing transition from and initial vertex may have a behavior, but not a trigger or a guard.
|
boolean |
validateTransitionsIncoming(DiagnosticChain diagnostics,
Map context)
All transitions incoming a join vertex must originate in different regions of an orthogonal state.
|
boolean |
validateTransitionsOutgoing(DiagnosticChain diagnostics,
Map 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, setContainer
allNamespaces, allOwningPackages, createDependency, createNameExpression, 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
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
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.
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
'.
The StateMachine in which this Pseudostate is defined. This only applies to Pseudostates of the kind entryPoint or exitPoint.
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
'.
The State that owns this pseudostate and in which it appears.
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(DiagnosticChain diagnostics, Map context)
boolean validateHistoryVertices(DiagnosticChain diagnostics, Map context)
boolean validateJoinVertex(DiagnosticChain diagnostics, Map context)
boolean validateTransitionsIncoming(DiagnosticChain diagnostics, Map context)
boolean validateForkVertex(DiagnosticChain diagnostics, Map context)
boolean validateTransitionsOutgoing(DiagnosticChain diagnostics, Map context)
boolean validateJunctionVertex(DiagnosticChain diagnostics, Map context)
boolean validateChoiceVertex(DiagnosticChain diagnostics, Map context)
boolean validateOutgoingFromInitial(DiagnosticChain diagnostics, Map context)