|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Transition'.
The following features are supported:
UML2Package.getTransition()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
Activity |
createEffect(EClass eClass)
Creates a Activity and sets the 'Effect' containment reference |
Constraint |
createGuard(EClass eClass)
Creates a Constraint and sets the 'Guard' containment reference |
Region |
getContainer()
Returns the value of the 'Container' container reference. |
Activity |
getEffect()
Returns the value of the 'Effect' containment reference |
Constraint |
getGuard()
Returns the value of the 'Guard' containment reference |
TransitionKind |
getKind()
Returns the value of the 'Kind' attribute. |
EList |
getOwnedElements()
|
Element |
getOwner()
|
EList |
getRedefinedElements()
|
Transition |
getRedefinedTransition()
Returns the value of the 'Redefined Transition' reference |
EList |
getRedefinitionContexts()
|
Vertex |
getSource()
Returns the value of the 'Source' reference. |
Vertex |
getTarget()
Returns the value of the 'Target' reference. |
Trigger |
getTrigger(String unqualifiedName)
Retrieves the Trigger with the specified name from the 'Trigger' reference list |
EList |
getTriggers()
Returns the value of the 'Trigger' reference list. |
void |
setContainer(Region value)
Sets the value of the ' Container ' container reference |
void |
setEffect(Activity value)
Sets the value of the ' Effect ' containment reference |
void |
setGuard(Constraint value)
Sets the value of the ' Guard ' containment reference |
void |
setKind(TransitionKind value)
Sets the value of the ' Kind ' attribute |
void |
setRedefinedTransition(Transition value)
Sets the value of the ' Redefined Transition ' reference |
void |
setSource(Vertex value)
Sets the value of the ' Source ' reference |
void |
setTarget(Vertex value)
Sets the value of the ' Target ' reference |
Methods inherited from interface org.eclipse.uml2.RedefinableElement |
getRedefinitionContext, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, 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 |
Field Detail |
public static final String copyright
Method Detail |
public TransitionKind getKind()
TransitionKind
.
If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here...
See definition of TransitionKind.
TransitionKind
,
setKind(TransitionKind)
,
UML2Package.getTransition_Kind()
public void setKind(TransitionKind value)
Kind
' attribute.
value
- the new value of the 'Kind' attribute.TransitionKind
,
getKind()
public Region getContainer()
Transition
'.
If the meaning of the 'Container' container reference isn't clear, there really should be more of a description here...
setContainer(Region)
,
UML2Package.getTransition_Container()
,
Region.getTransitions()
public void setContainer(Region value)
Container
' container reference.
value
- the new value of the 'Container' container reference.getContainer()
public Vertex getSource()
Outgoing
'.
If the meaning of the 'Source' reference isn't clear, there really should be more of a description here...
Designates the originating vertex (state or pseudostate) of the transition.
setSource(Vertex)
,
UML2Package.getTransition_Source()
,
Vertex.getOutgoings()
public void setSource(Vertex value)
Source
' reference.
value
- the new value of the 'Source' reference.getSource()
public Vertex getTarget()
Incoming
'.
If the meaning of the 'Target' reference isn't clear, there really should be more of a description here...
Designates the target vertex that is reached when the transition is taken.
setTarget(Vertex)
,
UML2Package.getTransition_Target()
,
Vertex.getIncomings()
public void setTarget(Vertex value)
Target
' reference.
value
- the new value of the 'Target' reference.getTarget()
public Transition getRedefinedTransition()
If the meaning of the 'Redefined Transition' reference isn't clear, there really should be more of a description here...
setRedefinedTransition(Transition)
,
UML2Package.getTransition_RedefinedTransition()
public void setRedefinedTransition(Transition value)
Redefined Transition
' reference.
value
- the new value of the 'Redefined Transition' reference.getRedefinedTransition()
public EList getTriggers()
Trigger
.
If the meaning of the 'Trigger' reference list isn't clear, there really should be more of a description here...
Specifies the triggers that may fire the transition.
UML2Package.getTransition_Trigger()
public Trigger getTrigger(String unqualifiedName)
Trigger
with the specified name from the 'Trigger' reference list.
unqualifiedName
- The unqualified name of the Trigger
to retrieve.
Trigger
with the specified name, or null
.getTriggers()
public Constraint getGuard()
If the meaning of the 'Guard' containment reference isn't clear, there really should be more of a description here...
A guard is a constraint that provides a fine-grained control over the firing of the transition. The guard is evaluated when an event is dispatched by the state machine. If the guard is true at that time, the transition may be enabled, otherwise, it is disabled. Guards should be pure expressions without side effects. Guard expressions with side effects are ill formed.
setGuard(Constraint)
,
UML2Package.getTransition_Guard()
public void setGuard(Constraint value)
Guard
' containment reference.
value
- the new value of the 'Guard' containment reference.getGuard()
public Constraint createGuard(EClass eClass)
Constraint
and sets the 'Guard' containment reference.
eClass
- The Ecore class of the Constraint
to create.
Constraint
.getGuard()
public Activity getEffect()
If the meaning of the 'Effect' containment reference isn't clear, there really should be more of a description here...
Specifies an optional activity to be performed when the transition fires.
setEffect(Activity)
,
UML2Package.getTransition_Effect()
public void setEffect(Activity value)
Effect
' containment reference.
value
- the new value of the 'Effect' containment reference.getEffect()
public Activity createEffect(EClass eClass)
Activity
and sets the 'Effect' containment reference.
eClass
- The Ecore class of the Activity
to create.
Activity
.getEffect()
public EList getRedefinitionContexts()
getRedefinitionContexts
in interface RedefinableElement
UML2Package.getRedefinableElement_RedefinitionContext()
public Element getOwner()
getOwner
in interface NamedElement
public EList getRedefinedElements()
getRedefinedElements
in interface RedefinableElement
public EList getOwnedElements()
getOwnedElements
in interface NamedElement
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |