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()intgetMaxAttachedNodes()intgetMinAttachedNodes()java.lang.StringgetType()voidsetHeads(java.util.ArrayList<Head> heads)voidsetMaxAttachedNodes(int maxAttachedNodes)voidsetMinAttachedNodes(int minAttachedNodes)voidsetType(java.lang.String type)java.lang.StringtoString()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:HierarchyItemtoString()must be overwritten in order to return the label of the item- Specified by:
toStringin interfaceHierarchyItem- Overrides:
toStringin classjava.lang.Object
-
-