Class Node
- java.lang.Object
-
- org.gcube.informationsystem.utils.knowledge.Node
-
- All Implemented Interfaces:
Comparable<Node>
public class Node extends Object implements Comparable<Node>
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringINDENTATION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeaddChild(Node child)intcompareTo(Node other)voidelaborate(NodeElaborator nodeElaborator)protected voidelaborate(NodeElaborator nodeElaborator, int level)Set<Type>getChildren()Set<Node>getChildrenNodes()NodegetParent()TreegetTree()TypegetType()NodesetParent(Node parent)StringtoString()
-
-
-
Field Detail
-
INDENTATION
public static String INDENTATION
-
-
Constructor Detail
-
Node
public Node(Type type)
-
-
Method Detail
-
getTree
public Tree getTree()
-
getType
public Type getType()
-
getParent
public Node getParent()
-
compareTo
public int compareTo(Node other)
- Specified by:
compareToin interfaceComparable<Node>
-
elaborate
public void elaborate(NodeElaborator nodeElaborator) throws Exception
- Throws:
Exception
-
elaborate
protected void elaborate(NodeElaborator nodeElaborator, int level) throws Exception
- Throws:
Exception
-
-