org.eclipse.uml2
Interface Region

All Superinterfaces:
Element, EModelElement, EObject, NamedElement, Namespace, Notifier, RedefinableElement, TemplateableElement

public interface Region
extends Namespace, RedefinableElement

A representation of the model object 'Region'.

The following features are supported:

See Also:
UML2Package.getRegion()

Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Vertex createSubvertex(EClass eClass)
          Creates a Vertex and appends it to the 'Subvertex' containment reference list
 Transition createTransition()
          Creates a Transition and appends it to the 'Transition' containment reference list
 Transition createTransition(EClass eClass)
          Creates a Transition and appends it to the 'Transition' containment reference list
 Region getExtendedRegion()
          Returns the value of the 'Extended Region' reference
 RedefinableElement getRedefinedElement(java.lang.String name)
          Retrieves the RedefinableElement with the specified 'Name' from the 'Redefined Element' reference list
 EList getRedefinedElements()
          Returns the value of the 'Redefined Element' reference list.
 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 Vertex with the specified 'Name' from the 'Subvertex' containment reference list
 EList getSubvertices()
          Returns the value of the 'Subvertex' containment reference list.
 Transition getTransition(java.lang.String name)
          Retrieves the Transition with the specified 'Name' from the 'Transition' containment reference list
 EList getTransitions()
          Returns the value of the 'Transition' containment reference list.
 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 org.eclipse.uml2.Namespace
createElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getSubvertices

public EList getSubvertices()
Returns the value of the 'Subvertex' containment reference list. The list contents are of type Vertex. It is bidirectional and its opposite is 'Container'.

If the meaning of the 'Subvertex' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Subvertex' containment reference list.
See Also:
UML2Package.getRegion_Subvertex(), Vertex.getContainer()

getSubvertex

public Vertex getSubvertex(java.lang.String name)
Retrieves the Vertex with the specified 'Name' from the 'Subvertex' containment reference list.

Parameters:
name - The 'Name' of the Vertex to retrieve.
Returns:
The Vertex with the specified 'Name', or null.
See Also:
getSubvertices()

createSubvertex

public Vertex createSubvertex(EClass eClass)
Creates a Vertex and appends it to the 'Subvertex' containment reference list.

Parameters:
eClass - The Ecore class of the Vertex to create.
Returns:
The new Vertex.
See Also:
getSubvertices()

getTransitions

public EList getTransitions()
Returns the value of the 'Transition' containment reference list. The list contents are of type Transition. It is bidirectional and its opposite is 'Container'.

If the meaning of the 'Transitions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Transition' containment reference list.
See Also:
UML2Package.getRegion_Transition(), Transition.getContainer()

getTransition

public Transition getTransition(java.lang.String name)
Retrieves the Transition with the specified 'Name' from the 'Transition' containment reference list.

Parameters:
name - The 'Name' of the Transition to retrieve.
Returns:
The Transition with the specified 'Name', or null.
See Also:
getTransitions()

createTransition

public Transition createTransition(EClass eClass)
Creates a Transition and appends it to the 'Transition' containment reference list.

Parameters:
eClass - The Ecore class of the Transition to create.
Returns:
The new Transition.
See Also:
getTransitions()

createTransition

public Transition createTransition()
Creates a Transition and appends it to the 'Transition' containment reference list.

Returns:
The new Transition.
See Also:
getTransitions()

getStateMachine

public StateMachine getStateMachine()
Returns the value of the 'State Machine' container reference. It is bidirectional and its opposite is 'Region'.

If the meaning of the 'State Machine' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'State Machine' container reference.
See Also:
setStateMachine(StateMachine), UML2Package.getRegion_StateMachine(), StateMachine.getRegions()

setStateMachine

public void setStateMachine(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()

getState

public State getState()
Returns the value of the 'State' container reference. It is bidirectional and its opposite is 'Region'.

If the meaning of the 'State' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'State' container reference.
See Also:
setState(State), UML2Package.getRegion_State(), State.getRegions()

setState

public void setState(State value)
Sets the value of the 'State' container reference.

Parameters:
value - the new value of the 'State' container reference.
See Also:
getState()

getExtendedRegion

public Region getExtendedRegion()
Returns the value of the 'Extended Region' reference.

If the meaning of the 'Extended Region' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Extended Region' reference.
See Also:
setExtendedRegion(Region), UML2Package.getRegion_ExtendedRegion()

setExtendedRegion

public void setExtendedRegion(Region value)
Sets the value of the 'Extended Region' reference.

Parameters:
value - the new value of the 'Extended Region' reference.
See Also:
getExtendedRegion()

getRedefinedElements

public EList getRedefinedElements()
Returns the value of the 'Redefined Element' reference list. The list contents are of type RedefinableElement. redefinable element that is being redefined by this element. This is a derived union.

Specified by:
getRedefinedElements in interface RedefinableElement
Returns:
the value of the 'Redefined Element' reference list.
See Also:
org.eclipse.uml2.UML2Package#getRedefinableElement_RedefinedElement()

getRedefinedElement

public RedefinableElement getRedefinedElement(java.lang.String name)
Retrieves the RedefinableElement with the specified 'Name' from the 'Redefined Element' reference list.

Specified by:
getRedefinedElement in interface RedefinableElement
Parameters:
name - The 'Name' of the RedefinableElement to retrieve.
Returns:
The RedefinableElement with the specified 'Name', or null.
See Also:
getRedefinedElements()

Copyright 2003, 2005 IBM Corporation and others.
All Rights Reserved.