Package uk.ac.qmul.eecs.ccmi.xmlparser
Class EdgeNode
- java.lang.Object
-
- uk.ac.qmul.eecs.ccmi.xmlparser.EdgeNode
-
- All Implemented Interfaces:
- HierarchyItem
public class EdgeNode extends java.lang.Object implements HierarchyItem
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getHead()
int
getId()
java.lang.String
getLabel()
void
setHead(java.lang.String head)
void
setId(int id)
void
setLabel(java.lang.String label)
java.lang.String
toString()
toString()
must be overwritten in order to return the label of the item
-
-
-
Method Detail
-
getHead
public java.lang.String getHead()
-
setHead
public void setHead(java.lang.String head)
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
getId
public int getId()
-
setId
public void setId(int id)
-
toString
public java.lang.String toString()
Description copied from interface:HierarchyItem
toString()
must be overwritten in order to return the label of the item- Specified by:
toString
in interfaceHierarchyItem
- Overrides:
toString
in classjava.lang.Object
-
-