Interface Region
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface Region extends Namespace, RedefinableElement
A representation of the model object 'Region'.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:
- See Also:
UMLPackage.getRegion()
- Model:
- annotation="MOF package='statemachines.mdbehaviorstatemachines'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getSubvertex
java.util.Collection<Vertex> getSubvertex()
Returns the value of the 'Subvertex' containment reference list. The list contents are of typeVertex
. It is bidirectional and its opposite is 'Container
'. The set of Vertices that are owned by this Region.- Returns:
- the value of the 'Subvertex' containment reference list.
- See Also:
UMLPackage.getRegion_Subvertex()
,Vertex.getContainer()
- Model:
- opposite="container" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getTransition
java.util.Collection<Transition> getTransition()
Returns the value of the 'Transition' containment reference list. The list contents are of typeTransition
. It is bidirectional and its opposite is 'Container
'. The set of Transitions owned by the Region.- Returns:
- the value of the 'Transition' containment reference list.
- See Also:
UMLPackage.getRegion_Transition()
,Transition.getContainer()
- Model:
- opposite="container" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getStateMachine
@CheckForNull StateMachine getStateMachine()
Returns the value of the 'State Machine' container reference. It is bidirectional and its opposite is 'Region
'. The StateMachine that owns the Region. If a Region is owned by a StateMachine, then it cannot also be owned by a State.- Returns:
- the value of the 'State Machine' container reference.
- See Also:
setStateMachine(StateMachine)
,UMLPackage.getRegion_StateMachine()
,StateMachine.getRegion()
- Model:
- opposite="region" transient="false" ordered="false"
- Generated:
-
setStateMachine
void setStateMachine(@CheckForNull StateMachine value)
Sets the value of the 'State Machine
' container reference.- Parameters:
value
- the new value of the 'State Machine' container reference.- See Also:
getStateMachine()
- Generated:
-
getState
@CheckForNull State getState()
Returns the value of the 'State' container reference. It is bidirectional and its opposite is 'Region
'. The State that owns the Region. If a Region is owned by a State, then it cannot also be owned by a StateMachine.- Returns:
- the value of the 'State' container reference.
- See Also:
setState(State)
,UMLPackage.getRegion_State()
,State.getRegion()
- Model:
- opposite="region" transient="false" ordered="false"
- Generated:
-
setState
void setState(@CheckForNull State value)
Sets the value of the 'State
' container reference.- Parameters:
value
- the new value of the 'State' container reference.- See Also:
getState()
- Generated:
-
getExtendedRegion
@CheckForNull Region getExtendedRegion()
Returns the value of the 'Extended Region' reference. It is bidirectional and its opposite is 'region Of Extended Region
'. The region of which this region is an extension.- Returns:
- the value of the 'Extended Region' reference.
- See Also:
setExtendedRegion(Region)
,UMLPackage.getRegion_ExtendedRegion()
,get_regionOfExtendedRegion()
- Model:
- opposite="_regionOfExtendedRegion" ordered="false"
- Generated:
-
setExtendedRegion
void setExtendedRegion(@CheckForNull Region value)
Sets the value of the 'Extended Region
' reference.- Parameters:
value
- the new value of the 'Extended Region' reference.- See Also:
getExtendedRegion()
- Generated:
-
get_regionOfExtendedRegion
java.util.Collection<Region> get_regionOfExtendedRegion()
Returns the value of the 'region Of Extended Region' reference list. The list contents are of typeRegion
. 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...
- Returns:
- the value of the 'region Of Extended Region' reference list.
- See Also:
UMLPackage.getRegion__regionOfExtendedRegion()
,getExtendedRegion()
- Model:
- opposite="extendedRegion" ordered="false"
- Generated:
-
getRedefinitionContext
java.util.Collection<Classifier> getRedefinitionContext()
Returns the value of the 'Redefinition Context' reference list. The list contents are of typeClassifier
. It is bidirectional and its opposite is 'region Of Redefinition Context
'. References the Classifier in which context this element may be redefined.- Specified by:
getRedefinitionContext
in interfaceRedefinableElement
- Returns:
- the value of the 'Redefinition Context' reference list.
- See Also:
UMLPackage.getRegion_RedefinitionContext()
,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier#get_regionOfRedefinitionContext
- Model:
- opposite="_regionOfRedefinitionContext" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
has_regionOfExtendedRegion
boolean has_regionOfExtendedRegion() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasSubvertex
boolean hasSubvertex() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasTransition
boolean hasTransition() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-