public interface Region extends Namespace, RedefinableElement
A Region is a top-level part of a StateMachine or a composite State, that serves as a container for the Vertices and Transitions of the StateMachine. A StateMachine or composite State may contain multiple Regions representing behaviors that may occur in parallel.
The following features are supported:
UMLPackage.getRegion()
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Region> |
get_regionOfExtendedRegion()
Returns the value of the 'region Of Extended Region' reference list.
|
Region |
getExtendedRegion()
Returns the value of the 'Extended Region' reference.
|
java.util.Collection<Classifier> |
getRedefinitionContext()
Returns the value of the 'Redefinition Context' reference list.
|
State |
getState()
Returns the value of the 'State' container reference.
|
StateMachine |
getStateMachine()
Returns the value of the 'State Machine' container reference.
|
java.util.Collection<Vertex> |
getSubvertex()
Returns the value of the 'Subvertex' containment reference list.
|
java.util.Collection<Transition> |
getTransition()
Returns the value of the 'Transition' containment reference list.
|
boolean |
has_regionOfExtendedRegion() |
boolean |
hasSubvertex() |
boolean |
hasTransition() |
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. |
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
get_redefinableElementOfRedefinedElement, getRedefinedElement, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
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
java.util.Collection<Vertex> getSubvertex()
Vertex
.
It is bidirectional and its opposite is 'Container
'.
The set of Vertices that are owned by this Region.
UMLPackage.getRegion_Subvertex()
,
Vertex.getContainer()
java.util.Collection<Transition> getTransition()
Transition
.
It is bidirectional and its opposite is 'Container
'.
The set of Transitions owned by the Region.
UMLPackage.getRegion_Transition()
,
Transition.getContainer()
@CheckForNull StateMachine getStateMachine()
Region
'.
The StateMachine that owns the Region. If a Region is owned by a StateMachine, then it cannot also be owned by a State.
setStateMachine(StateMachine)
,
UMLPackage.getRegion_StateMachine()
,
StateMachine.getRegion()
void setStateMachine(@CheckForNull StateMachine value)
State Machine
' container
reference.
value
- the new value of the 'State Machine' container reference.getStateMachine()
@CheckForNull State getState()
Region
'.
The State that owns the Region. If a Region is owned by a State, then it cannot also be owned by a StateMachine.
setState(State)
,
UMLPackage.getRegion_State()
,
State.getRegion()
void setState(@CheckForNull State value)
State
' container reference.
value
- the new value of the 'State' container reference.getState()
@CheckForNull Region getExtendedRegion()
region Of Extended Region
'.
The region of which this region is an extension.
setExtendedRegion(Region)
,
UMLPackage.getRegion_ExtendedRegion()
,
get_regionOfExtendedRegion()
void setExtendedRegion(@CheckForNull Region value)
Extended Region
' reference.
value
- the new value of the 'Extended Region' reference.getExtendedRegion()
java.util.Collection<Region> get_regionOfExtendedRegion()
Region
.
It is bidirectional and its opposite is
'Extended Region
'.
If the meaning of the 'region Of Extended Region' reference isn't clear, there really should be more of a description here...
UMLPackage.getRegion__regionOfExtendedRegion()
,
getExtendedRegion()
java.util.Collection<Classifier> getRedefinitionContext()
Classifier
.
It is bidirectional and its opposite is
'region Of Redefinition Context
'.
References the Classifier in which context this element may be redefined.
getRedefinitionContext
in interface RedefinableElement
UMLPackage.getRegion_RedefinitionContext()
,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier#get_regionOfRedefinitionContext
boolean has_regionOfExtendedRegion() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasSubvertex() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasTransition() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException