public interface Region extends Namespace, RedefinableElement
From package UML::StateMachines.
The following features are supported:
UMLPackage.getRegion()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
boolean |
belongsToPSM()
The operation belongsToPSM () checks if the Region belongs to a ProtocolStateMachine.
|
StateMachine |
containingStateMachine()
The operation containingStateMachine() returns the StateMachine in which this Region is defined.
|
Vertex |
createSubvertex(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Vertex , with the specified 'Name', and appends it to the 'Subvertex' containment reference list |
Transition |
createTransition(java.lang.String name)
Creates a new
Transition , with the specified 'Name', and appends it to the 'Transition' containment reference list |
Transition |
createTransition(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Transition , with the specified 'Name', and appends it to the 'Transition' containment reference list |
Region |
getExtendedRegion()
Returns the value of the 'Extended Region' reference.
|
State |
getState()
Returns the value of the 'State' container reference.
|
StateMachine |
getStateMachine()
Returns the value of the 'State Machine' container reference.
|
Vertex |
getSubvertex(java.lang.String name)
Retrieves the first
Vertex with the specified 'Name' from the 'Subvertex' containment reference list |
Vertex |
getSubvertex(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Vertex with the specified 'Name' from the 'Subvertex' containment reference list |
org.eclipse.emf.common.util.EList<Vertex> |
getSubvertices()
Returns the value of the 'Subvertex' containment reference list.
|
Transition |
getTransition(java.lang.String name)
Retrieves the first
Transition with the specified 'Name' from the 'Transition' containment reference list |
Transition |
getTransition(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Transition with the specified 'Name' from the 'Transition' containment reference list |
org.eclipse.emf.common.util.EList<Transition> |
getTransitions()
Returns the value of the 'Transition' containment reference list.
|
Classifier |
redefinitionContext()
The redefinition context of a Region is the nearest containing StateMachine.
|
void |
setExtendedRegion(Region value)
Sets the value of the '
Extended Region ' reference |
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 |
validateDeepHistoryVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A Region can have at most one deep history Vertex.
|
boolean |
validateInitialVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A Region can have at most one initial Vertex.
|
boolean |
validateOwned(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If a Region is owned by a StateMachine, then it cannot also be owned by a State and vice versa.
|
boolean |
validateShallowHistoryVertex(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A Region can have at most one shallow history Vertex.
|
createElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateCannotImportOwnedMembers, validateCannotImportSelf, validateMembersDistinguishable
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
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
org.eclipse.emf.common.util.EList<Vertex> getSubvertices()
Vertex
.
It is bidirectional and its opposite is 'Container
'.
This feature subsets the following features:
The set of Vertices that are owned by this Region.From package UML::StateMachines.
UMLPackage.getRegion_Subvertex()
,
Vertex.getContainer()
Vertex createSubvertex(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Vertex
, with the specified 'Name', and appends it to the 'Subvertex' containment reference list.
name
- The 'Name' for the new Vertex
, or null
.eClass
- The Ecore class of the Vertex
to create.Vertex
.getSubvertices()
Vertex getSubvertex(java.lang.String name)
Vertex
with the specified 'Name' from the 'Subvertex' containment reference list.
name
- The 'Name' of the Vertex
to retrieve, or null
.Vertex
with the specified 'Name', or null
.getSubvertices()
Vertex getSubvertex(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Vertex
with the specified 'Name' from the 'Subvertex' containment reference list.
name
- The 'Name' of the Vertex
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Vertex
to retrieve, or null
.createOnDemand
- Whether to create a Vertex
on demand if not found.Vertex
with the specified 'Name', or null
.getSubvertices()
org.eclipse.emf.common.util.EList<Transition> getTransitions()
Transition
.
It is bidirectional and its opposite is 'Container
'.
This feature subsets the following features:
The set of Transitions owned by the Region.From package UML::StateMachines.
UMLPackage.getRegion_Transition()
,
Transition.getContainer()
Transition createTransition(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Transition
, with the specified 'Name', and appends it to the 'Transition' containment reference list.
name
- The 'Name' for the new Transition
, or null
.eClass
- The Ecore class of the Transition
to create.Transition
.getTransitions()
Transition createTransition(java.lang.String name)
Transition
, with the specified 'Name', and appends it to the 'Transition' containment reference list.
name
- The 'Name' for the new Transition
, or null
.Transition
.getTransitions()
Transition getTransition(java.lang.String name)
Transition
with the specified 'Name' from the 'Transition' containment reference list.
name
- The 'Name' of the Transition
to retrieve, or null
.Transition
with the specified 'Name', or null
.getTransitions()
Transition getTransition(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Transition
with the specified 'Name' from the 'Transition' containment reference list.
name
- The 'Name' of the Transition
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Transition
to retrieve, or null
.createOnDemand
- Whether to create a Transition
on demand if not found.Transition
with the specified 'Name', or null
.getTransitions()
State getState()
Region
'.
This feature subsets the following features:
The State that owns the Region. If a Region is owned by a State, then it cannot also be owned by a StateMachine.From package UML::StateMachines.
setState(State)
,
UMLPackage.getRegion_State()
,
State.getRegions()
void setState(State value)
State
' container reference.
value
- the new value of the 'State' container reference.getState()
Region getExtendedRegion()
This feature subsets the following features:
The region of which this region is an extension.From package UML::StateMachines.
setExtendedRegion(Region)
,
UMLPackage.getRegion_ExtendedRegion()
void setExtendedRegion(Region value)
Extended Region
' reference.
value
- the new value of the 'Extended Region' reference.getExtendedRegion()
StateMachine getStateMachine()
Region
'.
This feature subsets the following features:
The StateMachine that owns the Region. If a Region is owned by a StateMachine, then it cannot also be owned by a State.From package UML::StateMachines.
setStateMachine(StateMachine)
,
UMLPackage.getRegion_StateMachine()
,
StateMachine.getRegions()
void setStateMachine(StateMachine value)
State Machine
' container reference.
value
- the new value of the 'State Machine' container reference.getStateMachine()
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 validateDeepHistoryVertex(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 validateShallowHistoryVertex(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 validateOwned(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.
Classifier redefinitionContext()
From package UML::StateMachines.
StateMachine containingStateMachine()
From package UML::StateMachines.
boolean belongsToPSM()
From package UML::StateMachines.