biz.hammurapi.web.process
Class Transition

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

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

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(Process owner, biz.hammurapi.web.process.sql.ProcessTransition data)
           
 
Method Summary
 java.lang.String getAction()
          Action code
 biz.hammurapi.web.process.sql.ProcessTransition getData()
           
 java.lang.String getGuard()
          Guard code
 java.lang.String getName()
          Element name
 Process getProcess()
           
 Task getSourceTask()
           
 java.lang.String getSummary()
          Element description
 Task getTargetTask()
           
 java.lang.Object getUserObject()
           
 boolean isValid()
           
 void setAction(java.lang.String action)
          Action code
 void setGuard(java.lang.String guard)
          Guard code
 void setName(java.lang.String name)
          Element name
 void setSummary(java.lang.String summary)
          Element description
 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(Process owner,
                  biz.hammurapi.web.process.sql.ProcessTransition 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: ProcessElement
Action code

Specified by:
getAction in interface ProcessElement
Returns:

getSummary

public java.lang.String getSummary()
Description copied from interface: ProcessElement
Element description

Specified by:
getSummary in interface ProcessElement
Returns:

getGuard

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

Specified by:
getGuard in interface ProcessElement
Returns:

getName

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

Specified by:
getName in interface ProcessElement
Returns:

getProcess

public Process getProcess()
Specified by:
getProcess in interface ProcessElement

setAction

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

Specified by:
setAction in interface ProcessElement
Returns:

setSummary

public void setSummary(java.lang.String summary)
Description copied from interface: ProcessElement
Element description

Specified by:
setSummary in interface ProcessElement
Returns:

setGuard

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

Specified by:
setGuard in interface ProcessElement
Returns:

setName

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

Specified by:
setName in interface ProcessElement
Returns:

getSourceTask

public Task getSourceTask()

getTargetTask

public Task getTargetTask()

getData

public biz.hammurapi.web.process.sql.ProcessTransition getData()


Copyright © 2006 Hammurapi Group. All Rights Reserved.