uci.uml.Behavioral_Elements.State_Machines
Class Transition

java.lang.Object
  |
  +--uci.uml.Foundation.Core.ElementImpl
        |
        +--uci.uml.Foundation.Core.ModelElementImpl
              |
              +--uci.uml.Behavioral_Elements.State_Machines.Transition

public class Transition
extends ModelElementImpl

By default a Transition is in the same Namespace as its StateMachine

See Also:
Serialized Form

Field Summary
 ActionSequence _effect
           
 Guard _guard
           
 StateVertex _source
           
 State _state
           
 StateMachine _stateMachine
           
 StateVertex _target
           
 Event _trigger
           
 
Fields inherited from class uci.uml.Foundation.Core.ModelElementImpl
_behavior, _collaboration, _constraint, _elementOwnership, _elementReference, _provision, _requirement, _stereotype, _taggedValue, _template, _templateParameter, MAX_STEREOTYPE
 
Fields inherited from class uci.uml.Foundation.Core.ElementImpl
_characteristic, _classification, _highlight, _name, _propertyListeners, _staticListener, _taggedValue, _vetoListeners, elementID
 
Constructor Summary
Transition()
           
Transition(Name name)
           
Transition(Name name, StateVertex src, StateVertex tar)
           
Transition(StateVertex src, StateVertex tar)
           
Transition(String nameStr)
           
 
Method Summary
 String dbgString()
           
 ActionSequence getEffect()
           
 Guard getGuard()
           
 StateVertex getSource()
           
 State getState()
           
 StateMachine getStateMachine()
           
 StateVertex getTarget()
           
 Event getTrigger()
           
 Object prepareForTrash()
           
 void recoverFromTrash(Object momento)
           
 void setEffect(ActionSequence x)
           
 void setGuard(Guard x)
           
 void setSource(StateVertex x)
           
 void setState(State x)
           
 void setStateMachine(StateMachine x)
           
 void setTarget(StateVertex x)
           
 void setTrigger(Event x)
           
 
Methods inherited from class uci.uml.Foundation.Core.ModelElementImpl
addBehavior, addConstraint, addElementReference, addProvision, addRequirement, addStereotype, addTemplateParameter, alsoTrash, containsStereotype, dbgStereotypes, dbgTaggedValues, getBehavior, getConstraint, getElementOwnership, getElementReference, getNamespace, getProvision, getRequirement, getStereotype, getTemplate, getTemplateParameter, getVisibility, isLegalXMI, isNotLegalXMI, removeBehavior, removeConstraint, removeElementReference, removeProvision, removeRequirement, removeStereotype, removeTemplateParameter, setBehavior, setConstraint, setElementOwnership, setElementReference, setNamespace, setProvision, setRequirement, setStereotype, setTemplate, setTemplateParameter, setVisibility
 
Methods inherited from class uci.uml.Foundation.Core.ElementImpl
addCharacteristic, addPropertyChangeListener, addTaggedValue, addVetoableChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChangeNoCritique, firePropertyChangeNoCritique, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChangeNoCompare, getCharacteristic, getClassification, getElementCount, getHighlight, getId, getName, getNamedProperty, getOCLTypeStr, getTaggedValue, getVetoListeners, newElementID, removeCharacteristic, removePropertyChangeListener, removeTaggedValue, removeVetoableChangeListener, setCharacteristic, setClassification, setElementCount, setHighlight, setId, setName, setName, setStaticChangeListener, setTaggedValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_guard

public Guard _guard

_effect

public ActionSequence _effect

_state

public State _state

_trigger

public Event _trigger

_stateMachine

public StateMachine _stateMachine

_source

public StateVertex _source

_target

public StateVertex _target
Constructor Detail

Transition

public Transition()

Transition

public Transition(Name name)

Transition

public Transition(Name name,
                  StateVertex src,
                  StateVertex tar)

Transition

public Transition(StateVertex src,
                  StateVertex tar)

Transition

public Transition(String nameStr)
Method Detail

getGuard

public Guard getGuard()

setGuard

public void setGuard(Guard x)
              throws PropertyVetoException

getEffect

public ActionSequence getEffect()

setEffect

public void setEffect(ActionSequence x)
               throws PropertyVetoException

getState

public State getState()

setState

public void setState(State x)
              throws PropertyVetoException

getTrigger

public Event getTrigger()

setTrigger

public void setTrigger(Event x)
                throws PropertyVetoException

getStateMachine

public StateMachine getStateMachine()

setStateMachine

public void setStateMachine(StateMachine x)
                     throws PropertyVetoException

getSource

public StateVertex getSource()

setSource

public void setSource(StateVertex x)
               throws PropertyVetoException

getTarget

public StateVertex getTarget()

setTarget

public void setTarget(StateVertex x)
               throws PropertyVetoException

prepareForTrash

public Object prepareForTrash()
                       throws PropertyVetoException
Overrides:
prepareForTrash in class ModelElementImpl

recoverFromTrash

public void recoverFromTrash(Object momento)
                      throws PropertyVetoException
Overrides:
recoverFromTrash in class ModelElementImpl

dbgString

public String dbgString()
Overrides:
dbgString in class ElementImpl