it.unibo.cs.USI.tools
Class InternalSemanticRelationshipNode

java.lang.Object
  extended by 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
           
 
Constructor Summary
InternalSemanticRelationshipNode(java.lang.String name)
           
 
Method Summary
 void addChild(InternalSemanticRelationshipNode node)
           
 void addParent(InternalSemanticRelationshipNode node)
           
 java.util.Set getAncestors()
           
 java.util.Set getDescendants()
           
 int getSemanticRelationship(InternalSemanticRelationshipNode node)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parents

private java.util.Set parents

children

private java.util.Set children

name

public java.lang.String name
Constructor Detail

InternalSemanticRelationshipNode

public InternalSemanticRelationshipNode(java.lang.String name)
Method Detail

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