|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.uml.core.Element | +--org.opencyc.uml.core.ModelElement | +--org.opencyc.uml.statemachine.StateMachine
StateMachine from the UML State_Machines package.
Copyright 2001 Cycorp, Inc., license is open source GNU LGPL.
THIS SOFTWARE AND KNOWLEDGE BASE CONTENT ARE PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENCYC ORGANIZATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND KNOWLEDGE BASE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Field Summary | |
protected java.lang.Object |
context
The context Classifier of this state machine, which contains the variables that distinguish the state, and the operations which can be performed upon state transitions. |
protected SubmachineState |
submachineState
the submachine state for this state machine |
protected State |
top
the top state of this state machine |
protected java.util.ArrayList |
transition
the Transitions for this state machine |
Fields inherited from class org.opencyc.uml.core.ModelElement |
comment, name, namespace |
Constructor Summary | |
StateMachine()
Constructs a new StateMachine object. |
Method Summary | |
java.lang.Object |
getContext()
Gets the context of this state machine |
SubmachineState |
getSubmachineState()
Gets the submachine state for this state machine |
State |
getTop()
Gets the top state of this state machine |
java.util.List |
getTransition()
Gets the Transitions for this state machine |
void |
setContext(java.lang.Object context)
Sets the context of this state machine |
void |
setSubmachineState(SubmachineState submachineState)
Sets the submachine state for this state machine |
void |
setTop(State top)
Sets the top state of this state machine |
void |
setTransition(java.util.ArrayList transition)
Sets the Transition for this state machine |
Methods inherited from class org.opencyc.uml.core.ModelElement |
equals, getComment, getName, getNamespace, setComment, setName, setNamespace, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.Object context
protected State top
protected java.util.ArrayList transition
protected SubmachineState submachineState
Constructor Detail |
public StateMachine()
Method Detail |
public java.lang.Object getContext()
public void setContext(java.lang.Object context)
context
- the context of this state machinepublic State getTop()
public void setTop(State top)
top
- the top state of this state machinepublic java.util.List getTransition()
public void setTransition(java.util.ArrayList transition)
transition
- the Transitions for this state machinepublic SubmachineState getSubmachineState()
public void setSubmachineState(SubmachineState submachineState)
submachineState
- the submachine state for this state machine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |