apps.projectmanagement.registry
Class StaffNodeRegistry

java.lang.Object
  extended by apps.projectmanagement.registry.StaffNodeRegistry

public class StaffNodeRegistry
extends java.lang.Object

The Class StaffNodeRegistry.


Method Summary
 void addNode(StaffNode node)
          Adds the node.
static StaffNodeRegistry getInstance()
          Gets the single instance of StaffNodeRegistry.
 java.util.List<StaffNode> getNodes()
          Gets the nodes.
 void hideNodes()
          Hide nodes.
 void removeNode(StaffNode node)
          Removes the node.
 void setNodes(java.util.List<StaffNode> nodes)
          Sets the nodes.
 void showNodes()
          Show nodes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StaffNodeRegistry getInstance()
Gets the single instance of StaffNodeRegistry.

Returns:
single instance of StaffNodeRegistry

addNode

public void addNode(StaffNode node)
Adds the node.

Parameters:
node - the node

getNodes

public java.util.List<StaffNode> getNodes()
Gets the nodes.

Returns:
the nodes

hideNodes

public void hideNodes()
Hide nodes.


removeNode

public void removeNode(StaffNode node)
Removes the node.

Parameters:
node - the node

setNodes

public void setNodes(java.util.List<StaffNode> nodes)
Sets the nodes.

Parameters:
nodes - the new nodes

showNodes

public void showNodes()
Show nodes.