|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.manchester.cs.owl.OWLObjectImpl
uk.ac.manchester.cs.owl.OWLOntologyImpl
public class OWLOntologyImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Constructor Summary | |
---|---|
OWLOntologyImpl(OWLDataFactory dataFactory,
java.net.URI uri)
|
Method Summary | ||
---|---|---|
void |
accept(OWLNamedObjectVisitor visitor)
|
|
void |
accept(OWLObjectVisitor visitor)
|
|
|
accept(OWLObjectVisitorEx<O> visitor)
|
|
java.util.List<OWLOntologyChange> |
applyChange(OWLOntologyChange change)
|
|
java.util.List<OWLOntologyChange> |
applyChanges(java.util.List<OWLOntologyChange> changes)
|
|
boolean |
containsAxiom(OWLAxiom axiom)
Determines if this ontology contains the specified axiom. |
|
boolean |
containsClassReference(java.net.URI owlClassURI)
Determines if the ontology contains a reference to a class that has a specific URI. |
|
boolean |
containsDataPropertyReference(java.net.URI propURI)
Determines if the ontology contains a reference to a data property that has a specific URI. |
|
boolean |
containsDataTypeReference(java.net.URI datatypeURI)
|
|
boolean |
containsEntityDeclaration(OWLEntity owlEntity)
Determines if this ontology contains a declaration axiom for the specified entity. |
|
boolean |
containsEntityReference(OWLEntity owlEntity)
Determines if the ontology contains a reference to the specified entity. |
|
boolean |
containsIndividualReference(java.net.URI individualURI)
Determines if the ontology contains a reference to an individual that has a specific URI. |
|
boolean |
containsObjectPropertyReference(java.net.URI propURI)
Determines if the ontology contains a reference to an object property that has a specific URI. |
|
boolean |
containsReference(OWLClass owlClass)
|
|
boolean |
containsReference(OWLDataProperty prop)
|
|
boolean |
containsReference(OWLDataType dt)
|
|
boolean |
containsReference(OWLIndividual ind)
|
|
boolean |
containsReference(OWLObjectProperty prop)
|
|
boolean |
equals(java.lang.Object obj)
|
|
java.util.Set<OWLAnnotationAxiom> |
getAnnotationAxioms()
Gets all of the annotation axioms in this ontology. |
|
java.util.Set<OWLAxiomAnnotationAxiom> |
getAnnotations(OWLAxiom axiom)
Gets the annotation axioms that annotate the specified axiom in this ontology. |
|
java.util.Set<OWLOntologyAnnotationAxiom> |
getAnnotations(OWLOntology ontology)
Gets the annotations whose subject is this ontology - i.e. |
|
java.util.Set<java.net.URI> |
getAnnotationURIs()
Gets the set of URIs that are used in annotations (e.g. |
|
OWLAntiSymmetricObjectPropertyAxiom |
getAntiSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
|
|
OWLAntiSymmetricObjectPropertyAxiom |
getAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
Gets the axiom that states that this property is asymmetric. |
|
java.util.Set<OWLAxiomAnnotationAxiom> |
getAxiomAnnotationAxioms()
|
|
int |
getAxiomCount()
Gets the number of axioms in this ontology. |
|
|
getAxiomCount(AxiomType<T> axiomType)
Gets the axiom count of a specific type of axiom |
|
java.util.Set<OWLAxiom> |
getAxioms()
Retrieves all of the axioms in this ontology. |
|
|
getAxioms(AxiomType<T> axiomType)
Gets the axioms which are of the specified type. |
|
java.util.Set<OWLClassAxiom> |
getAxioms(OWLClass cls)
Gets the axioms that form the definition/description of a class. |
|
java.util.Set<OWLDataPropertyAxiom> |
getAxioms(OWLDataProperty prop)
Gets the axioms that form the definition/description of a data property. |
|
java.util.Set<OWLIndividualAxiom> |
getAxioms(OWLIndividual individual)
Gets the axioms that form the definition/description of an individual |
|
java.util.Set<OWLObjectPropertyAxiom> |
getAxioms(OWLObjectPropertyExpression prop)
Gets the axioms that form the definition/description of an object property. |
|
java.util.Set<OWLClassAssertionAxiom> |
getClassAssertionAxioms(OWLClass type)
|
|
java.util.Set<OWLClassAssertionAxiom> |
getClassAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLClassAxiom> |
getClassAxioms()
Gets all of the class axioms in this ontology. |
|
java.util.Set<OWLDataPropertyAssertionAxiom> |
getDataPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLPropertyAxiom> |
getDataPropertyAxioms()
Gets all of the data property axioms in this ontology. |
|
java.util.Set<OWLDataPropertyDomainAxiom> |
getDataPropertyDomainAxioms(OWLDataProperty property)
|
|
java.util.Set<OWLDataPropertyRangeAxiom> |
getDataPropertyRangeAxiom(OWLDataProperty property)
|
|
java.util.Set<OWLDataSubPropertyAxiom> |
getDataSubPropertyAxiomsForLHS(OWLDataProperty lhsProperty)
|
|
java.util.Set<OWLDataSubPropertyAxiom> |
getDataSubPropertyAxiomsForRHS(OWLDataPropertyExpression property)
|
|
java.util.Set<OWLDeclarationAxiom> |
getDeclarationAxioms()
Gets all of the annotation axioms in this ontology. |
|
java.util.Set<OWLDeclarationAxiom> |
getDeclarationAxioms(OWLEntity entity)
Gets the declaration axioms for specified entity. |
|
java.util.Set<OWLDifferentIndividualsAxiom> |
getDifferentIndividualAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLDisjointClassesAxiom> |
getDisjointClassesAxioms(OWLClass cls)
Gets the set of disjoint class axioms that contain the specified class as an operand. |
|
java.util.Set<OWLDisjointDataPropertiesAxiom> |
getDisjointDataPropertiesAxiom(OWLDataProperty property)
|
|
java.util.Set<OWLDisjointObjectPropertiesAxiom> |
getDisjointObjectPropertiesAxiom(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLDisjointUnionAxiom> |
getDisjointUnionAxioms(OWLClass owlClass)
Gets the set of disjoint union axioms that have the specified class as the named class that is equivalent to the disjoint union of operands. |
|
java.util.Set<OWLEntityAnnotationAxiom> |
getEntityAnnotationAxioms(OWLEntity entity)
Gets the axioms that annotate the specified entity. |
|
java.util.Set<OWLEquivalentClassesAxiom> |
getEquivalentClassesAxioms(OWLClass cls)
Gets all of the equivalent axioms in this ontology that contain the specified class as an operand. |
|
java.util.Set<OWLEquivalentDataPropertiesAxiom> |
getEquivalentDataPropertiesAxiom(OWLDataProperty property)
|
|
java.util.Set<OWLEquivalentObjectPropertiesAxiom> |
getEquivalentObjectPropertiesAxioms(OWLObjectPropertyExpression property)
|
|
OWLFunctionalDataPropertyAxiom |
getFunctionalDataPropertyAxiom(OWLDataPropertyExpression property)
|
|
OWLFunctionalObjectPropertyAxiom |
getFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLClassAxiom> |
getGeneralClassAxioms()
Gets the set of general axioms in this ontology. |
|
java.util.Set<OWLOntology> |
getImports(OWLOntologyManager ontologyManager)
Gets the OWLOntology instances that this ontology imports. |
|
java.util.Set<OWLImportsDeclaration> |
getImportsDeclarations()
Gets the set of imports annotations for this ontology. |
|
java.util.Set<OWLIndividualAxiom> |
getIndividualAxioms()
Gets all of the individual axioms in this ontology. |
|
OWLInverseFunctionalObjectPropertyAxiom |
getInverseFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLInverseObjectPropertiesAxiom> |
getInverseObjectPropertyAxioms(OWLObjectPropertyExpression property)
|
|
OWLIrreflexiveObjectPropertyAxiom |
getIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
|
|
int |
getLogicalAxiomCount()
Gets the number of logical axioms in this ontology. |
|
java.util.Set<OWLLogicalAxiom> |
getLogicalAxioms()
Gets all of the axioms in the ontology that affect the logical meaning of the ontology. |
|
java.util.Set<OWLNegativeDataPropertyAssertionAxiom> |
getNegativeDataPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLNegativeObjectPropertyAssertionAxiom> |
getNegativeObjectPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLObjectPropertyAssertionAxiom> |
getObjectPropertyAssertionAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLPropertyAxiom> |
getObjectPropertyAxioms()
Gets all of the object property axioms in this ontology. |
|
java.util.Set<OWLObjectPropertyDomainAxiom> |
getObjectPropertyDomainAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLObjectPropertyRangeAxiom> |
getObjectPropertyRangeAxioms(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLObjectSubPropertyAxiom> |
getObjectSubPropertyAxiomsForLHS(OWLObjectPropertyExpression property)
Gets the object property sub property axioms where the specified property is on the left hand side of the axiom. |
|
java.util.Set<OWLObjectSubPropertyAxiom> |
getObjectSubPropertyAxiomsForRHS(OWLObjectPropertyExpression property)
|
|
java.util.Set<OWLOntologyAnnotationAxiom> |
getOntologyAnnotationAxioms()
Gets all of the ontology annotation axioms which have been asserted in this ontology. |
|
java.util.Set<OWLObjectPropertyChainSubPropertyAxiom> |
getPropertyChainSubPropertyAxioms()
Gets the property chain sub property axioms in the ontology. |
|
java.util.Set<OWLClass> |
getReferencedClasses()
Gets the classes that are referenced by axioms (including annotation axioms) in this ontology. |
|
java.util.Set<OWLDataProperty> |
getReferencedDataProperties()
Gets the data properties that are referenced by axioms (including annotation axioms) in this ontology. |
|
java.util.Set<OWLDataType> |
getReferencedDatatypes()
|
|
java.util.Set<OWLEntity> |
getReferencedEntities()
Gets the entities that are referenced by axioms in this ontology. |
|
java.util.Set<OWLIndividual> |
getReferencedIndividuals()
Gets the individuals that are referenced by axioms (including annotation axioms) in this ontology. |
|
java.util.Set<OWLObjectProperty> |
getReferencedObjectProperties()
Gets the object properties that are referenced by axioms (including annotation axioms) in this ontology. |
|
java.util.Set<OWLNamedObject> |
getReferencedObjects()
|
|
java.util.Set<OWLAxiom> |
getReferencingAxioms(OWLEntity owlEntity)
Gets the axioms where the specified entity appears anywhere in the axiom. |
|
OWLReflexiveObjectPropertyAxiom |
getReflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
|
|
java.util.Set<SWRLRule> |
getRules()
Gets the rules in this ontology. |
|
java.util.Set<OWLSameIndividualsAxiom> |
getSameIndividualAxioms(OWLIndividual individual)
|
|
java.util.Set<OWLSubClassAxiom> |
getSubClassAxiomsForLHS(OWLClass cls)
Gets all of the subclass axioms where the left hand side (the subclass) is equal to the specified class. |
|
java.util.Set<OWLSubClassAxiom> |
getSubClassAxiomsForRHS(OWLClass cls)
Gets all of the subclass axioms where the right hand side (the superclass) is equal to the specified class. |
|
OWLSymmetricObjectPropertyAxiom |
getSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
|
|
OWLTransitiveObjectPropertyAxiom |
getTransitiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
|
|
java.net.URI |
getURI()
Gets the URI of the ontology. |
|
boolean |
isEmpty()
Determines if this ontology is empty - an ontology is empty if it does not contain any axioms. |
|
boolean |
isPunned(java.net.URI uri)
Determines if the specified URI refers to more than one type of entity (i.e. |
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl |
---|
compareTo, getOWLDataFactory, getSignature, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.semanticweb.owl.model.OWLObject |
---|
getSignature |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public OWLOntologyImpl(OWLDataFactory dataFactory, java.net.URI uri)
Method Detail |
---|
public java.net.URI getURI()
getURI
in interface OWLNamedObject
URI
that represents the name
of the objectpublic boolean isEmpty()
OWLOntology
isEmpty
in interface OWLOntology
true
if the ontology is empty, otherwise false
.public int getAxiomCount()
OWLOntology
getAxiomCount
in interface OWLOntology
public java.util.Set<OWLAxiom> getAxioms()
OWLOntology
getAxioms
in interface OWLOntology
containsAxiom
method is used to determine whether or not this ontology
contains a particular axiom rather than using getAxioms().contains().public <T extends OWLAxiom> java.util.Set<T> getAxioms(AxiomType<T> axiomType)
OWLOntology
getAxioms
in interface OWLOntology
axiomType
- The type of axioms to be retrived.
public <T extends OWLAxiom> int getAxiomCount(AxiomType<T> axiomType)
OWLOntology
getAxiomCount
in interface OWLOntology
axiomType
- The type of axiom to count
public java.util.Set<OWLLogicalAxiom> getLogicalAxioms()
OWLOntology
getLogicalAxioms
in interface OWLOntology
OWLLogicalAxiom
The set that is returned is a copy of
the axioms in the ontology - it will not be updated if the ontology changes.public int getLogicalAxiomCount()
OWLOntology
getLogicalAxiomCount
in interface OWLOntology
public java.util.Set<SWRLRule> getRules()
OWLOntology
getRules
in interface OWLOntology
public java.util.Set<OWLClassAxiom> getClassAxioms()
OWLOntology
getClassAxioms
in interface OWLOntology
public java.util.Set<OWLPropertyAxiom> getObjectPropertyAxioms()
OWLOntology
getObjectPropertyAxioms
in interface OWLOntology
public java.util.Set<OWLPropertyAxiom> getDataPropertyAxioms()
OWLOntology
getDataPropertyAxioms
in interface OWLOntology
public java.util.Set<OWLIndividualAxiom> getIndividualAxioms()
OWLOntology
getIndividualAxioms
in interface OWLOntology
public java.util.Set<OWLAnnotationAxiom> getAnnotationAxioms()
OWLOntology
getAnnotationAxioms
in interface OWLOntology
public java.util.Set<OWLAxiomAnnotationAxiom> getAxiomAnnotationAxioms()
public java.util.Set<OWLDeclarationAxiom> getDeclarationAxioms()
OWLOntology
getDeclarationAxioms
in interface OWLOntology
public java.util.Set<OWLDeclarationAxiom> getDeclarationAxioms(OWLEntity entity)
OWLOntology
getDeclarationAxioms
in interface OWLOntology
entity
- The entity that is the subject of the set of returned axioms.
public java.util.Set<OWLAxiomAnnotationAxiom> getAnnotations(OWLAxiom axiom)
OWLOntology
getAnnotations
in interface OWLOntology
axiom
- The axiom that the returned set of axiom annotation axioms annotate.
public java.util.Set<OWLEntityAnnotationAxiom> getEntityAnnotationAxioms(OWLEntity entity)
OWLOntology
getEntityAnnotationAxioms
in interface OWLOntology
entity
- The entity whose annotations are to be retrieved.
public java.util.Set<OWLOntologyAnnotationAxiom> getAnnotations(OWLOntology ontology)
getAnnotations
in interface OWLOntology
ontology
- The ontology that is the subject of the annotations.
public java.util.Set<OWLOntologyAnnotationAxiom> getOntologyAnnotationAxioms()
OWLOntology
getOntologyAnnotationAxioms
in interface OWLOntology
public java.util.Set<OWLClassAxiom> getGeneralClassAxioms()
OWLOntology
OWLClass
es)OWLClass
es)
getGeneralClassAxioms
in interface OWLOntology
public java.util.Set<OWLObjectPropertyChainSubPropertyAxiom> getPropertyChainSubPropertyAxioms()
OWLOntology
getPropertyChainSubPropertyAxioms
in interface OWLOntology
public boolean containsAxiom(OWLAxiom axiom)
OWLOntology
containsAxiom
in interface OWLOntology
axiom
- The axiom to test for.
true
if the ontology contains the specified axioms, or false
if the ontology
doesn't contain the specified axiom.public java.util.Set<java.net.URI> getAnnotationURIs()
OWLOntology
getAnnotationURIs
in interface OWLOntology
public boolean containsClassReference(java.net.URI owlClassURI)
OWLOntology
containsClassReference
in interface OWLOntology
owlClassURI
- The URI to test for.
true
if the ontology refers to a class with the specified URI, otherwise false
public boolean containsObjectPropertyReference(java.net.URI propURI)
OWLOntology
containsObjectPropertyReference
in interface OWLOntology
propURI
- The URI of the property
true
if the ontology references (ontology signature contains) a property that has the
specified URI.public boolean containsDataPropertyReference(java.net.URI propURI)
OWLOntology
containsDataPropertyReference
in interface OWLOntology
propURI
- The URI of the property
true
if the ontology references (ontology signature contains) a property that has the
specified URI.public boolean containsIndividualReference(java.net.URI individualURI)
OWLOntology
containsIndividualReference
in interface OWLOntology
individualURI
- The URI of the individual
true
if the ontology references (ontology signature contains) an individual that has the
specified URI.public boolean containsDataTypeReference(java.net.URI datatypeURI)
containsDataTypeReference
in interface OWLOntology
public boolean isPunned(java.net.URI uri)
OWLOntology
isPunned
in interface OWLOntology
uri
- The URI to test.
true
if the URI refers to more than one entity, for example because the ontology references
a class with the URI and also an individual with the same URI.public boolean containsReference(OWLClass owlClass)
public boolean containsReference(OWLObjectProperty prop)
public boolean containsReference(OWLDataProperty prop)
public boolean containsReference(OWLIndividual ind)
public boolean containsReference(OWLDataType dt)
public boolean containsEntityDeclaration(OWLEntity owlEntity)
OWLOntology
containsEntityDeclaration
in interface OWLOntology
owlEntity
- The entity
true
if the ontology contains a declaration for the specified entity, otherwise
false
The set that is returned is a copy - it will not be updated if the ontology changes.
It is therefore safe to apply changes to this ontology while iterating over this set.public boolean containsEntityReference(OWLEntity owlEntity)
OWLOntology
containsEntityReference
in interface OWLOntology
owlEntity
- The entity
true
if the ontology contains a reference to the specified entity, otherwise
false
The set that is returned is a copy - it will not be updated if the ontology changes.
It is therefore safe to apply changes to this ontology while iterating over this set.public java.util.Set<OWLAxiom> getReferencingAxioms(OWLEntity owlEntity)
OWLOntology
getReferencingAxioms
in interface OWLOntology
owlEntity
- The entity that should be directly referred to by an axiom that appears in the results set.
public java.util.Set<OWLClassAxiom> getAxioms(OWLClass cls)
OWLOntology
getAxioms
in interface OWLOntology
cls
- The class whose describing axioms are to be retrieved.
public java.util.Set<OWLObjectPropertyAxiom> getAxioms(OWLObjectPropertyExpression prop)
OWLOntology
getAxioms
in interface OWLOntology
prop
- The property whose defining axioms are to be retrieved.
public java.util.Set<OWLDataPropertyAxiom> getAxioms(OWLDataProperty prop)
OWLOntology
getAxioms
in interface OWLOntology
prop
- The property whose defining axioms are to be retrieved.
public java.util.Set<OWLIndividualAxiom> getAxioms(OWLIndividual individual)
OWLOntology
getAxioms
in interface OWLOntology
individual
- The individual whose defining axioms are to be retrieved.
public java.util.Set<OWLNamedObject> getReferencedObjects()
public java.util.Set<OWLEntity> getReferencedEntities()
OWLOntology
getReferencedEntities
in interface OWLOntology
OWLEntity
objects. The set that is returned is a copy - it will not be updated if
the ontology changes. It is therefore safe to apply changes to this ontology while iterating over this
set.public java.util.Set<OWLClass> getReferencedClasses()
OWLOntology
getReferencedClasses
in interface OWLOntology
public java.util.Set<OWLObjectProperty> getReferencedObjectProperties()
OWLOntology
getReferencedObjectProperties
in interface OWLOntology
public java.util.Set<OWLDataProperty> getReferencedDataProperties()
OWLOntology
getReferencedDataProperties
in interface OWLOntology
public java.util.Set<OWLIndividual> getReferencedIndividuals()
OWLOntology
getReferencedIndividuals
in interface OWLOntology
public java.util.Set<OWLDataType> getReferencedDatatypes()
public java.util.Set<OWLImportsDeclaration> getImportsDeclarations()
OWLOntology
getImportsDeclarations
in interface OWLOntology
public java.util.Set<OWLOntology> getImports(OWLOntologyManager ontologyManager) throws UnknownOWLOntologyException
OWLOntology
OWLOntology
instances that this ontology imports.
getImports
in interface OWLOntology
ontologyManager
- The OWLOntologyManager
that will map the imports annotations to actual
OWLOntology
instances.
UnknownOWLOntologyException
- if this ontology isn't managed by the specified manager.public java.util.Set<OWLSubClassAxiom> getSubClassAxiomsForLHS(OWLClass cls)
OWLOntology
getSubClassAxiomsForLHS
in interface OWLOntology
cls
- The class that is equal to the left hand side of the axiom (subclass).
public java.util.Set<OWLSubClassAxiom> getSubClassAxiomsForRHS(OWLClass cls)
OWLOntology
getSubClassAxiomsForRHS
in interface OWLOntology
cls
- The class
public java.util.Set<OWLEquivalentClassesAxiom> getEquivalentClassesAxioms(OWLClass cls)
OWLOntology
getEquivalentClassesAxioms
in interface OWLOntology
cls
- The class
public java.util.Set<OWLDisjointClassesAxiom> getDisjointClassesAxioms(OWLClass cls)
OWLOntology
getDisjointClassesAxioms
in interface OWLOntology
cls
- The class that should be contained in the set of disjoint class axioms that will be returned.
public java.util.Set<OWLDisjointUnionAxiom> getDisjointUnionAxioms(OWLClass owlClass)
OWLOntology
getDisjointUnionAxioms
in interface OWLOntology
owlClass
- The class that indexes the axioms to be retrieved.
public java.util.Set<OWLObjectSubPropertyAxiom> getObjectSubPropertyAxiomsForLHS(OWLObjectPropertyExpression property)
OWLOntology
getObjectSubPropertyAxiomsForLHS
in interface OWLOntology
property
- The property which is on the left hand side of the axiom.
public java.util.Set<OWLObjectSubPropertyAxiom> getObjectSubPropertyAxiomsForRHS(OWLObjectPropertyExpression property)
getObjectSubPropertyAxiomsForRHS
in interface OWLOntology
public java.util.Set<OWLObjectPropertyDomainAxiom> getObjectPropertyDomainAxioms(OWLObjectPropertyExpression property)
getObjectPropertyDomainAxioms
in interface OWLOntology
public java.util.Set<OWLObjectPropertyRangeAxiom> getObjectPropertyRangeAxioms(OWLObjectPropertyExpression property)
getObjectPropertyRangeAxioms
in interface OWLOntology
public java.util.Set<OWLInverseObjectPropertiesAxiom> getInverseObjectPropertyAxioms(OWLObjectPropertyExpression property)
getInverseObjectPropertyAxioms
in interface OWLOntology
public java.util.Set<OWLEquivalentObjectPropertiesAxiom> getEquivalentObjectPropertiesAxioms(OWLObjectPropertyExpression property)
getEquivalentObjectPropertiesAxioms
in interface OWLOntology
public java.util.Set<OWLDisjointObjectPropertiesAxiom> getDisjointObjectPropertiesAxiom(OWLObjectPropertyExpression property)
getDisjointObjectPropertiesAxiom
in interface OWLOntology
public OWLFunctionalObjectPropertyAxiom getFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
getFunctionalObjectPropertyAxiom
in interface OWLOntology
public OWLInverseFunctionalObjectPropertyAxiom getInverseFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
getInverseFunctionalObjectPropertyAxiom
in interface OWLOntology
public OWLSymmetricObjectPropertyAxiom getSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
getSymmetricObjectPropertyAxiom
in interface OWLOntology
public OWLAntiSymmetricObjectPropertyAxiom getAntiSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
getAntiSymmetricObjectPropertyAxiom
in interface OWLOntology
public OWLAntiSymmetricObjectPropertyAxiom getAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
OWLOntology
getAsymmetricObjectPropertyAxiom
in interface OWLOntology
property
- The property
null
if there is
no axiom that states this.public OWLReflexiveObjectPropertyAxiom getReflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getReflexiveObjectPropertyAxiom
in interface OWLOntology
public OWLIrreflexiveObjectPropertyAxiom getIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getIrreflexiveObjectPropertyAxiom
in interface OWLOntology
public OWLTransitiveObjectPropertyAxiom getTransitiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getTransitiveObjectPropertyAxiom
in interface OWLOntology
public OWLFunctionalDataPropertyAxiom getFunctionalDataPropertyAxiom(OWLDataPropertyExpression property)
getFunctionalDataPropertyAxiom
in interface OWLOntology
public java.util.Set<OWLDataSubPropertyAxiom> getDataSubPropertyAxiomsForLHS(OWLDataProperty lhsProperty)
getDataSubPropertyAxiomsForLHS
in interface OWLOntology
public java.util.Set<OWLDataSubPropertyAxiom> getDataSubPropertyAxiomsForRHS(OWLDataPropertyExpression property)
getDataSubPropertyAxiomsForRHS
in interface OWLOntology
public java.util.Set<OWLDataPropertyDomainAxiom> getDataPropertyDomainAxioms(OWLDataProperty property)
getDataPropertyDomainAxioms
in interface OWLOntology
public java.util.Set<OWLDataPropertyRangeAxiom> getDataPropertyRangeAxiom(OWLDataProperty property)
getDataPropertyRangeAxiom
in interface OWLOntology
public java.util.Set<OWLEquivalentDataPropertiesAxiom> getEquivalentDataPropertiesAxiom(OWLDataProperty property)
getEquivalentDataPropertiesAxiom
in interface OWLOntology
public java.util.Set<OWLDisjointDataPropertiesAxiom> getDisjointDataPropertiesAxiom(OWLDataProperty property)
getDisjointDataPropertiesAxiom
in interface OWLOntology
public java.util.Set<OWLClassAssertionAxiom> getClassAssertionAxioms(OWLIndividual individual)
getClassAssertionAxioms
in interface OWLOntology
public java.util.Set<OWLClassAssertionAxiom> getClassAssertionAxioms(OWLClass type)
getClassAssertionAxioms
in interface OWLOntology
public java.util.Set<OWLDataPropertyAssertionAxiom> getDataPropertyAssertionAxioms(OWLIndividual individual)
getDataPropertyAssertionAxioms
in interface OWLOntology
public java.util.Set<OWLObjectPropertyAssertionAxiom> getObjectPropertyAssertionAxioms(OWLIndividual individual)
getObjectPropertyAssertionAxioms
in interface OWLOntology
public java.util.Set<OWLNegativeObjectPropertyAssertionAxiom> getNegativeObjectPropertyAssertionAxioms(OWLIndividual individual)
getNegativeObjectPropertyAssertionAxioms
in interface OWLOntology
public java.util.Set<OWLNegativeDataPropertyAssertionAxiom> getNegativeDataPropertyAssertionAxioms(OWLIndividual individual)
getNegativeDataPropertyAssertionAxioms
in interface OWLOntology
public java.util.Set<OWLSameIndividualsAxiom> getSameIndividualAxioms(OWLIndividual individual)
getSameIndividualAxioms
in interface OWLOntology
public java.util.Set<OWLDifferentIndividualsAxiom> getDifferentIndividualAxioms(OWLIndividual individual)
getDifferentIndividualAxioms
in interface OWLOntology
public java.util.List<OWLOntologyChange> applyChange(OWLOntologyChange change)
applyChange
in interface OWLMutableOntology
public java.util.List<OWLOntologyChange> applyChanges(java.util.List<OWLOntologyChange> changes)
applyChanges
in interface OWLMutableOntology
public void accept(OWLObjectVisitor visitor)
accept
in interface OWLObject
public void accept(OWLNamedObjectVisitor visitor)
accept
in interface OWLNamedObject
public <O> O accept(OWLObjectVisitorEx<O> visitor)
accept
in interface OWLObject
public boolean equals(java.lang.Object obj)
equals
in class OWLObjectImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |