biz.hammurapi.web.process
Class Task

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

public class Task
extends org.jgraph.graph.DefaultGraphCell
implements ProcessElement

See Also:
Serialized Form

Field Summary
 
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
Task(Process owner, biz.hammurapi.web.process.sql.ProcessTask data)
           
 
Method Summary
 java.lang.String getAction()
          Action code
 biz.hammurapi.web.process.sql.ProcessTask getData()
           
 java.lang.String getGuard()
          Guard code
 java.util.Collection getInputs()
           
 java.lang.String getName()
          Element name
 java.util.Collection getOutputs()
           
 Process getProcess()
           
 java.lang.String getSummary()
          Element description
 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.DefaultGraphCell
addPort, addPort, addPort, changeAttributes, clone, 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
 

Constructor Detail

Task

public Task(Process owner,
            biz.hammurapi.web.process.sql.ProcessTask data)
Method Detail

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:

getInputs

public java.util.Collection getInputs()

getOutputs

public java.util.Collection getOutputs()

isValid

public boolean isValid()

getData

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


Copyright © 2006 Hammurapi Group. All Rights Reserved.