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 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(EClass eClass)
          Creates a Transition and appends it to the 'Transition' containment reference list
 Region getExtendedRegion()
          Returns the value of the 'Extended Region' reference
 Namespace getNamespace()
           
 EList getOwnedElements()
           
 EList getRedefinedElements()
           
 EList getRedefinitionContexts()
           
 State getState()
          Returns the value of the 'State' container reference.
 StateMachine getStateMachine()
          Returns the value of the 'State Machine' container reference.
 Vertex getSubvertex(String unqualifiedName)
          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(String unqualifiedName)
          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, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedMembers, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, 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, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 

Field Detail

copyright

public static final 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(String unqualifiedName)
Retrieves the Vertex with the specified name from the 'Subvertex' containment reference list.

Parameters:
unqualifiedName - The unqualified 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(String unqualifiedName)
Retrieves the Transition with the specified name from the 'Transition' containment reference list.

Parameters:
unqualifiedName - The unqualified 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()

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()

getRedefinitionContexts

public EList getRedefinitionContexts()

Specified by:
getRedefinitionContexts in interface RedefinableElement
Returns:
the value of the 'Redefinition Context' reference list.
See Also:
UML2Package.getRedefinableElement_RedefinitionContext()

getRedefinedElements

public EList getRedefinedElements()

Specified by:
getRedefinedElements in interface RedefinableElement

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Namespace

getNamespace

public Namespace getNamespace()

Specified by:
getNamespace in interface NamedElement

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