Package uk.ac.qmul.eecs.ccmi.xmlparser
Class EdgeType
- java.lang.Object
-
- uk.ac.qmul.eecs.ccmi.xmlparser.EdgeType
-
- All Implemented Interfaces:
- HierarchyItem
public class EdgeType extends java.lang.Object implements HierarchyItem
-
-
Constructor Summary
Constructors Constructor and Description EdgeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<Head>
getHeads()
int
getMaxAttachedNodes()
int
getMinAttachedNodes()
java.lang.String
getType()
void
setHeads(java.util.ArrayList<Head> heads)
void
setMaxAttachedNodes(int maxAttachedNodes)
void
setMinAttachedNodes(int minAttachedNodes)
void
setType(java.lang.String type)
java.lang.String
toString()
toString()
must be overwritten in order to return the label of the item
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getMinAttachedNodes
public int getMinAttachedNodes()
-
setMinAttachedNodes
public void setMinAttachedNodes(int minAttachedNodes)
-
getMaxAttachedNodes
public int getMaxAttachedNodes()
-
setMaxAttachedNodes
public void setMaxAttachedNodes(int maxAttachedNodes)
-
getHeads
public java.util.List<Head> getHeads()
-
setHeads
public void setHeads(java.util.ArrayList<Head> heads)
-
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
-
-