biz.hammurapi.web.interaction
Class Transition

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

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

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(Interaction owner, biz.hammurapi.web.interaction.sql.InteractionTransition data)
           
 
Method Summary
 java.lang.String getAction()
          Action code
 biz.hammurapi.web.interaction.sql.InteractionTransition getData()
           
 java.lang.String getDescription()
          Element description
 java.lang.String getGuard()
          Guard code
 Interaction getInteraction()
           
 java.lang.String getName()
          Element name
 Step getSourceStep()
           
 Step getTargetStep()
           
 java.lang.Object getUserObject()
           
 boolean isValid()
           
 void setAction(java.lang.String action)
          Action code
 void setDescription(java.lang.String description)
          Element description
 void setGuard(java.lang.String guard)
          Guard code
 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(Interaction owner,
                  biz.hammurapi.web.interaction.sql.InteractionTransition 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()

getAction

public java.lang.String getAction()
Description copied from interface: InteractionElement
Action code

Specified by:
getAction in interface InteractionElement
Returns:

getDescription

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

Specified by:
getDescription in interface InteractionElement
Returns:

getGuard

public java.lang.String getGuard()
Description copied from interface: InteractionElement
Guard code

Specified by:
getGuard in interface InteractionElement
Returns:

getName

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

Specified by:
getName in interface InteractionElement
Returns:

getInteraction

public Interaction getInteraction()
Specified by:
getInteraction in interface InteractionElement

setAction

public void setAction(java.lang.String action)
Description copied from interface: InteractionElement
Action code

Specified by:
setAction in interface InteractionElement
Returns:

setDescription

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

Specified by:
setDescription in interface InteractionElement
Returns:

setGuard

public void setGuard(java.lang.String guard)
Description copied from interface: InteractionElement
Guard code

Specified by:
setGuard in interface InteractionElement
Returns:

setName

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

Specified by:
setName in interface InteractionElement
Returns:

getSourceStep

public Step getSourceStep()

getTargetStep

public Step getTargetStep()

getData

public biz.hammurapi.web.interaction.sql.InteractionTransition getData()


Copyright © 2006 Hammurapi Group. All Rights Reserved.