issrg.editor2.ontology
Class OntologyClass

java.lang.Object
  extended by issrg.editor2.ontology.OntologyClass
All Implemented Interfaces:
java.lang.Comparable

public class OntologyClass
extends java.lang.Object
implements java.lang.Comparable


Field Summary
protected  OClass oClass
           
 
Constructor Summary
OntologyClass(OClass oClass)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.util.Set<OntologyInstance> getAllInstances()
           
 java.util.Set<OntologyInstance> getAllInstances(boolean includingSubClasses)
           
 OntologyInstance getGenericInstance()
           
 java.lang.String getName()
           
 java.util.Set<OntologyClass> getSubClasses()
           
 java.util.Set<OntologyClass> getSubClasses(boolean transitive)
           
 java.util.Set<OntologyClass> getSuperClasses()
           
 java.util.Set<OntologyClass> getSuperClasses(boolean transitive)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

oClass

protected OClass oClass
Constructor Detail

OntologyClass

public OntologyClass(OClass oClass)
Method Detail

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getGenericInstance

public OntologyInstance getGenericInstance()

getAllInstances

public java.util.Set<OntologyInstance> getAllInstances(boolean includingSubClasses)

getAllInstances

public java.util.Set<OntologyInstance> getAllInstances()

getSubClasses

public java.util.Set<OntologyClass> getSubClasses(boolean transitive)

getSubClasses

public java.util.Set<OntologyClass> getSubClasses()

getSuperClasses

public java.util.Set<OntologyClass> getSuperClasses(boolean transitive)

getSuperClasses

public java.util.Set<OntologyClass> getSuperClasses()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable