|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OClass | |
|---|---|
| com.ontotext.gate.vr | |
| gate.creole.ontology | The GATE ontology API. |
| gate.gui.docview | |
| gate.gui.ontology | |
| gate.util | |
| Uses of OClass in com.ontotext.gate.vr |
|---|
| Constructors in com.ontotext.gate.vr with parameters of type OClass | |
|---|---|
ClassNode(OClass clas)
Constructs a class node given an ontology class |
|
| Uses of OClass in gate.creole.ontology |
|---|
| Subinterfaces of OClass in gate.creole.ontology | |
|---|---|
interface |
AllValuesFromRestriction
An AllValuesFromRestriction. |
interface |
AnonymousClass
This class represents the AnonymousClass. |
interface |
CardinalityRestriction
A CardinalityRestriction |
interface |
HasValueRestriction
A HasValueRestriction. |
interface |
MaxCardinalityRestriction
A MaxCardinalityRestriction. |
interface |
MinCardinalityRestriction
A MinCardinalityRestriction. |
interface |
Restriction
This interface defines a restriction in the ontology. |
interface |
SomeValuesFromRestriction
A SomeValuesFromRestriction. |
| Methods in gate.creole.ontology that return OClass | |
|---|---|
OClass |
Ontology.addOClass(OURI aURI)
Creates a new OWL Class and adds it the ontology. |
OClass |
Ontology.addOClass(OURI aURI,
byte classType)
Deprecated. - use one of the dedicated methods to add a named class or a restriction instead |
OClass |
Ontology.getOClass(ONodeID theClassID)
Retrieves a both named classes and anonymous classes and retrictions that match either the URI or the blank node identifier represented by ONodeID |
| Methods in gate.creole.ontology that return types with arguments of type OClass | |
|---|---|
Set<OClass> |
OClass.getEquivalentClasses()
Returns a set of all classes that are equivalent as this one. |
Set<OClass> |
Ontology.getOClasses(boolean top)
Retrieves all ontology classes in a set. |
Set<OClass> |
OInstance.getOClasses(byte closure)
Deprecated. |
Set<OClass> |
OInstance.getOClasses(OConstants.Closure closure)
|
ClosableIterator<OClass> |
Ontology.getOClassesIterator(boolean top)
Return an iterator to retrieve all ontology classes in the ontology. |
Set<OClass> |
OClass.getSubClasses(byte closure)
Deprecated. |
Set<OClass> |
OClass.getSubClasses(OConstants.Closure closure)
|
ClosableIterator<OClass> |
OClass.getSubClassesIterator(OConstants.Closure closure)
|
ArrayList<Set<OClass>> |
OClass.getSubClassesVsDistance()
Gets the sub classes, and returns them in an array list where on each index there is a collection of the sub classes at distance - the index. |
Set<OClass> |
OClass.getSuperClasses(byte closure)
Deprecated. |
Set<OClass> |
OClass.getSuperClasses(OConstants.Closure closure)
|
ArrayList<Set<OClass>> |
OClass.getSuperClassesVSDistance()
Gets the super classes, and returns them in an array list where on each index there is a collection of the super classes at distance - the index. |
| Methods in gate.creole.ontology with parameters of type OClass | |
|---|---|
AllValuesFromRestriction |
Ontology.addAllValuesFromRestriction(ObjectProperty onProperty,
OClass theClass)
|
void |
OInstance.addOClass(OClass theClass)
Make this individual an instance of another class. |
OInstance |
Ontology.addOInstance(OURI theInstanceURI,
OClass theClass)
Creates a new OInstance and returns it. |
void |
OClass.addSubClass(OClass subClass)
Adds a sub class to this class. |
boolean |
Ontology.containsOClass(OClass theClass)
Checks whether the ontology contains this class. |
int |
Ontology.getDistance(OClass class1,
OClass class2)
Gets the taxonomic distance between 2 classes. |
Set<OInstance> |
Ontology.getOInstances(OClass theClass,
byte closure)
Deprecated. |
Set<OInstance> |
Ontology.getOInstances(OClass theClass,
OConstants.Closure closure)
Gets instances in the ontology, which belong to this class. |
ClosableIterator<OInstance> |
Ontology.getOInstancesIterator(OClass theClass,
OConstants.Closure closure)
|
boolean |
OClass.isEquivalentClassAs(OClass aClass)
Checks whether the class is equivalent as the given class. |
boolean |
OInstance.isInstanceOf(OClass aClass,
byte closure)
Deprecated. |
boolean |
OInstance.isInstanceOf(OClass aClass,
OConstants.Closure closure)
|
boolean |
OClass.isSubClassOf(OClass aClass,
byte closure)
Deprecated. |
boolean |
OClass.isSubClassOf(OClass aClass,
OConstants.Closure closure)
|
boolean |
OClass.isSuperClassOf(OClass aClass,
byte closure)
Checks whether the class is a super class of the given class. |
boolean |
OClass.isSuperClassOf(OClass aClass,
OConstants.Closure closure)
|
void |
Ontology.removeOClass(OClass theClass)
Removes a class from this ontology. |
void |
OClass.removeSubClass(OClass subClass)
Removes a sub class. |
void |
OClass.setEquivalentClassAs(OClass theClass)
Indicates that these classes are the equivalent |
void |
AllValuesFromRestriction.setHasValue(OClass resource)
Sets the value of the the restiction to the specified OClass. |
| Method parameters in gate.creole.ontology with type arguments of type OClass | |
|---|---|
DatatypeProperty |
Ontology.addDatatypeProperty(OURI aPropertyURI,
Set<OClass> domain,
DataType aDatatype)
Create a DatatypeProperty with the given domain and range. |
ObjectProperty |
Ontology.addObjectProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new object property (a property that takes instances as values). |
ObjectProperty |
Ontology.addObjectProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new object property (a property that takes instances as values). |
SymmetricProperty |
Ontology.addSymmetricProperty(OURI aPropertyURI,
Set<OClass> domainAndRange)
Creates a new symmetric property (an object property that is symmetric). |
TransitiveProperty |
Ontology.addTransitiveProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new transitive property (an object property that is transitive). |
TransitiveProperty |
Ontology.addTransitiveProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new transitive property (an object property that is transitive). |
| Uses of OClass in gate.gui.docview |
|---|
| Fields in gate.gui.docview declared as OClass | |
|---|---|
protected OClass |
OntologyClassView.selectedClass
Class that has the lead selection in the focused ontology tree. |
protected OClass |
OntologyInstanceView.selectedClass
Class that has the lead selection in the focused tree. |
| Fields in gate.gui.docview with type parameters of type OClass | |
|---|---|
protected Map<String,Set<OClass>> |
OntologyInstanceView.classesByPropertyMap
|
protected Map<OClass,Color> |
OntologyClassView.colorByClassMap
Colors for class and their instances only if the latter exist. |
protected Set<OClass> |
OntologyClassView.highlightedClasses
Classes highlighted in the document with their checkboxes ticked in the class tree. |
protected Map<OClass,List> |
OntologyClassView.highlightsDataByClassMap
HighlightData list for each class. |
| Methods in gate.gui.docview with parameters of type OClass | |
|---|---|
void |
OntologyClassView.highlightInstance(AnnotationSet set,
Annotation annotation,
OClass oClass,
JTree tree)
To see if it's worth using it to optimise highlights display. |
void |
OntologyClassView.setClassHighlighted(OClass oClass,
boolean isHighlighted)
|
void |
OntologyInstanceView.updateInstanceTable(OClass selectedClass)
Update the instance table for the class and ontology selected. |
| Method parameters in gate.gui.docview with type arguments of type OClass | |
|---|---|
protected void |
OntologyClassView.addNodes(JTree tree,
DefaultMutableTreeNode parent,
Set<OClass> newChildren,
boolean filterClasses)
Add children nodes to the parent node in the tree. |
| Uses of OClass in gate.gui.ontology |
|---|
| Methods in gate.gui.ontology with parameters of type OClass | |
|---|---|
protected void |
OntologyEditor.classIsAdded(OClass aClass)
Update the class tree model. |
protected void |
OntologyEditor.subClassIsAdded(OClass c)
Update the class tree model. |
protected void |
OntologyEditor.subClassIsDeleted(OClass c)
Update the class tree model. |
| Uses of OClass in gate.util |
|---|
| Methods in gate.util that return OClass | |
|---|---|
protected OClass |
SimpleFeatureMapImpl.getClassForURIOrName(Ontology ontologyLR,
String name)
Look up the given name in the given ontology. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||