org.codehaus.mojo.graphing.model
Class Node
java.lang.Object
org.codehaus.mojo.graphing.model.Node
public class Node
- extends Object
Node type.
- Author:
- Joakim Erdfelt
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
-
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.