it.unibo.cs.USI.tools
Class InternalSemanticRelationshipNode
java.lang.Object
it.unibo.cs.USI.tools.InternalSemanticRelationshipNode
public class InternalSemanticRelationshipNode
- extends java.lang.Object
- Author:
- Matteo Magnani
Jan 30, 2006 8:01:43 PM
Field Summary |
private java.util.Set |
children
|
java.lang.String |
name
|
private java.util.Set |
parents
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
parents
private java.util.Set parents
children
private java.util.Set children
name
public java.lang.String name
InternalSemanticRelationshipNode
public InternalSemanticRelationshipNode(java.lang.String name)
addChild
public void addChild(InternalSemanticRelationshipNode node)
addParent
public void addParent(InternalSemanticRelationshipNode node)
getAncestors
public java.util.Set getAncestors()
getDescendants
public java.util.Set getDescendants()
getSemanticRelationship
public int getSemanticRelationship(InternalSemanticRelationshipNode node)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object