biz.hammurapi.web.statemachine
Class Transition

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.jgraph.graph.DefaultGraphCell
          extended byorg.jgraph.graph.DefaultEdge
              extended bybiz.hammurapi.web.statemachine.Transition
All Implemented Interfaces:
java.lang.Cloneable, org.jgraph.graph.Edge, org.jgraph.graph.GraphCell, javax.swing.tree.MutableTreeNode, java.io.Serializable, StateMachineElement, javax.swing.tree.TreeNode

public class Transition
extends org.jgraph.graph.DefaultEdge
implements StateMachineElement

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jgraph.graph.DefaultEdge
org.jgraph.graph.DefaultEdge.DefaultRouting, org.jgraph.graph.DefaultEdge.LoopRouting
 
Nested classes inherited from class org.jgraph.graph.Edge
org.jgraph.graph.Edge.Routing
 
Field Summary
 
Fields inherited from class org.jgraph.graph.DefaultEdge
source, target
 
Fields inherited from class org.jgraph.graph.DefaultGraphCell
attributes
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
Transition(StateMachine owner, biz.hammurapi.web.statemachine.sql.SmTransition data)
           
 
Method Summary
 biz.hammurapi.web.statemachine.sql.SmTransition getData()
           
 java.lang.String getDescription()
          Element description
 java.lang.String getGuard()
           
 java.lang.String getName()
          Element name
 State getSourceState()
           
 StateMachine getStateMachine()
           
 State getTargetState()
           
 java.lang.Object getUserObject()
           
 boolean isValid()
           
 void setDescription(java.lang.String description)
          Element description
 void setGuard(java.lang.String guard)
           
 void setName(java.lang.String name)
          Element name
 void setUserObject(java.lang.Object userObject)
           
 
Methods inherited from class org.jgraph.graph.DefaultEdge
clone, getSource, getTarget, setSource, setTarget
 
Methods inherited from class org.jgraph.graph.DefaultGraphCell
addPort, addPort, addPort, changeAttributes, getAttributes, getChildren, setAttributes
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jgraph.graph.GraphCell
changeAttributes, getAttributes, setAttributes
 

Constructor Detail

Transition

public Transition(StateMachine owner,
                  biz.hammurapi.web.statemachine.sql.SmTransition data)
Method Detail

isValid

public boolean isValid()

setUserObject

public void setUserObject(java.lang.Object userObject)
Specified by:
setUserObject in interface javax.swing.tree.MutableTreeNode

getUserObject

public java.lang.Object getUserObject()

getDescription

public java.lang.String getDescription()
Description copied from interface: StateMachineElement
Element description

Specified by:
getDescription in interface StateMachineElement
Returns:

getGuard

public java.lang.String getGuard()

getName

public java.lang.String getName()
Description copied from interface: StateMachineElement
Element name

Specified by:
getName in interface StateMachineElement
Returns:

getStateMachine

public StateMachine getStateMachine()
Specified by:
getStateMachine in interface StateMachineElement

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: StateMachineElement
Element description

Specified by:
setDescription in interface StateMachineElement
Returns:

setGuard

public void setGuard(java.lang.String guard)

setName

public void setName(java.lang.String name)
Description copied from interface: StateMachineElement
Element name

Specified by:
setName in interface StateMachineElement
Returns:

getSourceState

public State getSourceState()

getTargetState

public State getTargetState()

getData

public biz.hammurapi.web.statemachine.sql.SmTransition getData()


Copyright © 2006 Hammurapi Group. All Rights Reserved.