|
||||||||||||
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 java.lang.String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
Activity |
createEffect()
Creates a Activity and sets the 'Effect' containment reference |
Activity |
createEffect(EClass eClass)
Deprecated. Use #createEffect() instead. |
Constraint |
createGuard()
Creates a Constraint and sets the 'Guard' 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. |
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. |
Transition |
getRedefinedTransition()
Returns the value of the 'Redefined Transition' reference |
Vertex |
getSource()
Returns the value of the 'Source' reference. |
Vertex |
getTarget()
Returns the value of the 'Target' reference. |
Trigger |
getTrigger(java.lang.String name)
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, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
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 |
Field Detail |
public static final java.lang.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(java.lang.String name)
Trigger
with the specified 'Name' from the 'Trigger' reference list.
name
- The '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 Constraint createGuard()
Constraint
and sets the 'Guard' containment reference.
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 Activity createEffect()
Activity
and sets the 'Effect' containment reference.
Activity
.getEffect()
public EList getRedefinedElements()
RedefinableElement
.
redefinable element that is being redefined by this element. This is a derived union.
getRedefinedElements
in interface RedefinableElement
org.eclipse.uml2.UML2Package#getRedefinableElement_RedefinedElement()
public RedefinableElement getRedefinedElement(java.lang.String name)
RedefinableElement
with the specified 'Name' from the 'Redefined Element' reference list.
getRedefinedElement
in interface RedefinableElement
name
- The 'Name' of the RedefinableElement
to retrieve.
RedefinableElement
with the specified 'Name', or null
.getRedefinedElements()
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |