issrg.editor2.ontology
Class OntologyClass
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
oClass
protected OClass oClass
OntologyClass
public OntologyClass(OClass oClass)
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