uci.uml.Behavioral_Elements.State_Machines
Class State

java.lang.Object
  |
  +--uci.uml.Foundation.Core.ElementImpl
        |
        +--uci.uml.Foundation.Core.ModelElementImpl
              |
              +--uci.uml.Behavioral_Elements.State_Machines.StateVertex
                    |
                    +--uci.uml.Behavioral_Elements.State_Machines.State
Direct Known Subclasses:
CompositeState, SimpleState, SubmachineState

public class State
extends StateVertex

The actions associated with a state are in the same Namespace as the State.

See Also:
Serialized Form

Field Summary
 Vector _classifierInState
           
 Vector _deferredEvent
           
 ActionSequence _entry
           
 ActionSequence _exit
           
 Vector _internalTransition
           
 StateMachine _stateMachine
           
 Vector _stateVariable
           
 
Fields inherited from class uci.uml.Behavioral_Elements.State_Machines.StateVertex
_incoming, _outgoing, _parent
 
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
State()
           
State(Name name)
           
State(String nameStr)
           
 
Method Summary
 void addClassifierInState(ClassifierInState x)
           
 void addDeferredEvent(Event x)
           
 void addInternalTransition(Transition x)
           
 void addStateVariable(Attribute x)
           
 String dbgString()
           
 Vector getClassifierInState()
           
 Vector getDeferredEvent()
           
 ActionSequence getEntry()
           
 ActionSequence getExit()
           
 Vector getInternalTransition()
           
 StateMachine getStateMachine()
           
 Vector getStateVariable()
           
 Object prepareForTrash()
           
 void recoverFromTrash(Object momento)
           
 void removeClassifierInState(ClassifierInState x)
           
 void removeDeferredEvent(Event x)
           
 void removeInternalTransition(Transition x)
           
 void removeStateVariable(Attribute x)
           
 void setClassifierInState(Vector x)
           
 void setDeferredEvent(Vector x)
           
 void setEntry(ActionSequence x)
           
 void setExit(ActionSequence x)
           
 void setInternalTransition(Vector x)
           
 void setStateMachine(StateMachine x)
           
 void setStateVariable(Vector x)
           
 
Methods inherited from class uci.uml.Behavioral_Elements.State_Machines.StateVertex
addIncoming, addOutgoing, alsoTrash, getIncoming, getOutgoing, getParent, removeIncoming, removeOutgoing, setIncoming, setOutgoing, setParent
 
Methods inherited from class uci.uml.Foundation.Core.ModelElementImpl
addBehavior, addConstraint, addElementReference, addProvision, addRequirement, addStereotype, addTemplateParameter, 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

_entry

public ActionSequence _entry

_exit

public ActionSequence _exit

_deferredEvent

public Vector _deferredEvent

_stateMachine

public StateMachine _stateMachine

_stateVariable

public Vector _stateVariable

_classifierInState

public Vector _classifierInState

_internalTransition

public Vector _internalTransition
Constructor Detail

State

public State()

State

public State(Name name)

State

public State(String nameStr)
Method Detail

getEntry

public ActionSequence getEntry()

setEntry

public void setEntry(ActionSequence x)
              throws PropertyVetoException

getExit

public ActionSequence getExit()

setExit

public void setExit(ActionSequence x)
             throws PropertyVetoException

getDeferredEvent

public Vector getDeferredEvent()

setDeferredEvent

public void setDeferredEvent(Vector x)
                      throws PropertyVetoException

addDeferredEvent

public void addDeferredEvent(Event x)
                      throws PropertyVetoException

removeDeferredEvent

public void removeDeferredEvent(Event x)
                         throws PropertyVetoException

getStateMachine

public StateMachine getStateMachine()

setStateMachine

public void setStateMachine(StateMachine x)
                     throws PropertyVetoException

getStateVariable

public Vector getStateVariable()

setStateVariable

public void setStateVariable(Vector x)
                      throws PropertyVetoException

addStateVariable

public void addStateVariable(Attribute x)
                      throws PropertyVetoException

removeStateVariable

public void removeStateVariable(Attribute x)
                         throws PropertyVetoException

getClassifierInState

public Vector getClassifierInState()

setClassifierInState

public void setClassifierInState(Vector x)
                          throws PropertyVetoException

addClassifierInState

public void addClassifierInState(ClassifierInState x)
                          throws PropertyVetoException

removeClassifierInState

public void removeClassifierInState(ClassifierInState x)
                             throws PropertyVetoException

getInternalTransition

public Vector getInternalTransition()

setInternalTransition

public void setInternalTransition(Vector x)
                           throws PropertyVetoException

addInternalTransition

public void addInternalTransition(Transition x)
                           throws PropertyVetoException

removeInternalTransition

public void removeInternalTransition(Transition x)
                              throws PropertyVetoException

prepareForTrash

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

recoverFromTrash

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

dbgString

public String dbgString()
Overrides:
dbgString in class StateVertex