UML.Semantic.BehavioralElements.StateMachines
Class State
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.BehavioralElements.StateMachines.StateVertex
|
+--UML.Semantic.BehavioralElements.StateMachines.State
- All Implemented Interfaces:
- Element, ElementAtt, LinkAtt
- Direct Known Subclasses:
- CompositeState, SimpleState, SubmachineState
- public class State
- extends StateVertex
A State is a condition or situation during the life of an
object during which is satisfies some condition, performs some
activity, or waits for some event. A state models a dynamic
situation in which, typically, one or more (implicit or explicit)
conditions hold.
In the metamodel, a State is a subclass of
StateVertex, thereby inheriting the fundamental
features of incoming and outgoing transitions associated with
state vertices.
|
Constructor Summary |
State()
|
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
State
public State()
setDeferredEvent
public void setDeferredEvent(java.lang.String event)
getDeferredEvent
public java.util.Vector getDeferredEvent()
setInternalTransition
public void setInternalTransition(java.lang.String transition)
getInternalTransition
public java.util.Vector getInternalTransition()
setEntryEvent
public void setEntryEvent(java.lang.String event)
getEntry
public java.lang.String getEntry()
setExitEvent
public void setExitEvent(java.lang.String event)
getExit
public java.lang.String getExit()
check
public boolean check()
- Checks if well-formedness rules are respected in this model
element.
- Overrides:
check in class StateVertex
- Returns:
- True if check was successful, false otherwise.