org.oddjob.webapp.model
Class NodeInfo

java.lang.Object
  extended by org.oddjob.webapp.model.NodeInfo

public class NodeInfo
extends Object

Collect together job node information for use in the tree view.

Author:
Rob Gordon.

Constructor Summary
NodeInfo(String nodeName, String[] childRefIds, String iconId)
          Constructor.
 
Method Summary
 String[] getChildRefIds()
          Get child refIds.
 boolean getHasChildren()
          Has this node got children.
 String getIconId()
          Get the Icon id.
 String getNodeName()
          Get the node name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInfo

public NodeInfo(String nodeName,
                String[] childRefIds,
                String iconId)
Constructor.

Parameters:
nodeName - The node name.
childRefIds - A list of the refIds of any children.
iconId - The icon id.
Method Detail

getChildRefIds

public String[] getChildRefIds()
Get child refIds.

Returns:
An array of child refIds, never Null.

getIconId

public String getIconId()
Get the Icon id.

Returns:
The icon id.

getNodeName

public String getNodeName()
Get the node name.

Returns:
The node name.

getHasChildren

public boolean getHasChildren()
Has this node got children.

Returns:
True if this node has children, false if it doesn't.