org.codehaus.mojo.graphing.model
Class Node

java.lang.Object
  extended by org.codehaus.mojo.graphing.model.Node

public class Node
extends Object

Node type.

Author:
Joakim Erdfelt

Constructor Summary
Node(String id)
           
Node(String id, String label)
           
Node(String id, String label, int nodeType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 String getLabel()
           
 int getType()
           
 int hashCode()
           
 void setId(String id)
           
 void setLabel(String label)
           
 void setType(int type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(String id)
Parameters:
id -

Node

public Node(String id,
            String label)
Parameters:
id -
label -

Node

public Node(String id,
            String label,
            int nodeType)
Parameters:
id -
label -
nodeType -
Method Detail

getId

public String getId()
Returns:
Returns the id.

setId

public void setId(String id)
Parameters:
id - The id to set.

getLabel

public String getLabel()
Returns:
Returns the label.

setLabel

public void setLabel(String label)
Parameters:
label - The label to set.

getType

public int getType()
Returns:
Returns the type.

setType

public void setType(int type)
Parameters:
type - The type to set.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2005-2011 Codehaus. All Rights Reserved.