org.almendra.janet.cas.node
Class NodeName

java.lang.Object
  extended by org.almendra.janet.cas.node.NodeName

public class NodeName
extends java.lang.Object


Field Summary
protected  int nodeId
           
protected  java.lang.String workstationName
           
 
Constructor Summary
protected NodeName()
          Creates a new NodeName object.
  NodeName(java.lang.String nodeName)
          Creates a new NodeName object.
  NodeName(java.lang.String workstationName, int nodeId)
          Creates a new NodeName object.
 
Method Summary
 int getNodeId()
           
 java.lang.Integer getNodeIdInt()
           
 java.lang.String getWorkstationName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workstationName

protected java.lang.String workstationName

nodeId

protected int nodeId
Constructor Detail

NodeName

protected NodeName()
Creates a new NodeName object.


NodeName

public NodeName(java.lang.String workstationName,
                int nodeId)
Creates a new NodeName object.


NodeName

public NodeName(java.lang.String nodeName)
         throws java.lang.IllegalArgumentException
Creates a new NodeName object.

Throws:
java.lang.IllegalArgumentException
Method Detail

getNodeId

public int getNodeId()
Returns:
Returns the nodeId.

getNodeIdInt

public java.lang.Integer getNodeIdInt()
Returns:
Returns the nodeId.

getWorkstationName

public java.lang.String getWorkstationName()
Returns:
Returns the workstationName.