Package uk.ac.qmul.eecs.ccmi.xmlparser
Class Edge
- java.lang.Object
-
- uk.ac.qmul.eecs.ccmi.xmlparser.Edge
-
- All Implemented Interfaces:
- HierarchyItem
public class Edge extends java.lang.Object implements HierarchyItem
-
-
Constructor Summary
Constructors Constructor and Description Edge(java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.ArrayList<EdgeNode>
getAttachedNodes()
int
getId()
java.lang.String
getName()
java.lang.String
getType()
void
setAttachedNodes(java.util.ArrayList<EdgeNode> cEPro)
void
setId(int id)
void
setName(java.lang.String name)
java.lang.String
toString()
toString()
must be overwritten in order to return the label of the item
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getType
public java.lang.String getType()
-
getId
public int getId()
-
setId
public void setId(int id)
-
getAttachedNodes
public java.util.ArrayList<EdgeNode> getAttachedNodes()
-
setAttachedNodes
public void setAttachedNodes(java.util.ArrayList<EdgeNode> cEPro)
-
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
-
-