|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alexmerz.graphviz.objects.Id
public class Id
This object is used to identify graphs and nodes Note, that an object may contain an id or a label.
| Constructor Summary | |
|---|---|
Id()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the Id of the object Empty string means, that this object has no Id. |
java.lang.String |
getLabel()
Returns the label of the object |
boolean |
isEqual(Id eid)
Compares the Ids. |
void |
setId(java.lang.String id)
Sets the object id. |
void |
setLabel(java.lang.String label)
Sets the label of the object |
java.lang.String |
toString()
Returns the String representation of this Id |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Id()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEqual(Id eid)
eid -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||