org.semanticweb.owl.model
Interface OWLDataFactory
- All Known Implementing Classes:
- OWLDataFactoryImpl
- public interface OWLDataFactory
OWLDataFactory provides a single access point for the creation
of objects within an ontology. Use of the data factory insulates
clients from the particular implementation that is being used.
Each OWLObject maintains a link to
the OWLDataFactory that was used to create it.
Note that requesting a
{class | individual | objectproperty | dataproperty } with the same uri as
an existing { class | individual | objectproperty | dataproperty } will
return a reference to the existing object.
- Version:
- $Id: OWLDataFactory.java,v 1.2 2003/11/20 12:58:07 sean_bechhofer Exp $
|
Method Summary |
OWLAnd |
getOWLAnd(Set set)
|
OWLAnnotationInstance |
getOWLAnnotationInstance(OWLObject subj,
OWLAnnotationProperty property,
Object content)
|
OWLAnnotationProperty |
getOWLAnnotationProperty(URI uri)
|
OWLClass |
getOWLClass(URI uri)
|
OWLDataValue |
getOWLConcreteData(URI uri,
String lang,
Object value)
|
OWLDataType |
getOWLConcreteDataType(URI uri)
|
OWLConnection |
getOWLConnection()
|
OWLDataAllRestriction |
getOWLDataAllRestriction(OWLDataProperty prop,
OWLDataRange type)
|
OWLDataCardinalityRestriction |
getOWLDataCardinalityAtLeastRestriction(OWLDataProperty prop,
int atLeast)
|
OWLDataCardinalityRestriction |
getOWLDataCardinalityAtMostRestriction(OWLDataProperty prop,
int atMost)
|
OWLDataCardinalityRestriction |
getOWLDataCardinalityRestriction(OWLDataProperty prop,
int atLeast,
int atMost)
|
OWLDataEnumeration |
getOWLDataEnumeration(Set values)
|
OWLDataProperty |
getOWLDataProperty(URI uri)
|
OWLDataPropertyInstance |
getOWLDataPropertyInstance(OWLIndividual subject,
OWLDataProperty property,
OWLDataValue object)
|
OWLDataSomeRestriction |
getOWLDataSomeRestriction(OWLDataProperty prop,
OWLDataRange type)
|
OWLDataValueRestriction |
getOWLDataValueRestriction(OWLDataProperty prop,
OWLDataValue value)
|
OWLDifferentIndividualsAxiom |
getOWLDifferentIndividualsAxiom(Set set)
|
OWLDisjointClassesAxiom |
getOWLDisjointClassesAxiom(Set set)
|
OWLEnumeration |
getOWLEnumeration(Set individuals)
|
OWLEquivalentClassesAxiom |
getOWLEquivalentClassesAxiom(Set set)
|
OWLEquivalentPropertiesAxiom |
getOWLEquivalentPropertiesAxiom(Set set)
|
OWLFrame |
getOWLFrame(Set superClasses,
Set restrictions)
|
OWLIndividual |
getOWLIndividual(URI uri)
|
OWLNot |
getOWLNot(OWLDescription operand)
|
OWLClass |
getOWLNothing()
|
OWLObjectAllRestriction |
getOWLObjectAllRestriction(OWLObjectProperty prop,
OWLDescription filler)
|
OWLObjectCardinalityRestriction |
getOWLObjectCardinalityAtLeastRestriction(OWLObjectProperty prop,
int atLeast)
|
OWLObjectCardinalityRestriction |
getOWLObjectCardinalityAtMostRestriction(OWLObjectProperty prop,
int atMost)
|
OWLObjectCardinalityRestriction |
getOWLObjectCardinalityRestriction(OWLObjectProperty prop,
int atLeast,
int atMost)
|
OWLObjectProperty |
getOWLObjectProperty(URI uri)
|
OWLObjectPropertyInstance |
getOWLObjectPropertyInstance(OWLIndividual subject,
OWLObjectProperty property,
OWLIndividual object)
Method getOWLOntology. |
OWLObjectSomeRestriction |
getOWLObjectSomeRestriction(OWLObjectProperty prop,
OWLDescription filler)
|
OWLObjectValueRestriction |
getOWLObjectValueRestriction(OWLObjectProperty prop,
OWLIndividual filler)
|
OWLOntology |
getOWLOntology(URI logicalURIObject,
URI physicalURIObject)
|
OWLOr |
getOWLOr(Set set)
|
OWLSameIndividualsAxiom |
getOWLSameIndividualsAxiom(Set set)
|
OWLSubClassAxiom |
getOWLSubClassAxiom(OWLDescription subClass,
OWLDescription superClass)
|
OWLSubPropertyAxiom |
getOWLSubPropertyAxiom(OWLProperty subProperty,
OWLProperty superProperty)
|
OWLClass |
getOWLThing()
|
getOWLAnd
public OWLAnd getOWLAnd(Set set)
throws OWLException
OWLException
getOWLAnnotationProperty
public OWLAnnotationProperty getOWLAnnotationProperty(URI uri)
throws OWLException
OWLException
getOWLAnnotationInstance
public OWLAnnotationInstance getOWLAnnotationInstance(OWLObject subj,
OWLAnnotationProperty property,
Object content)
throws OWLException
OWLException
getOWLConcreteData
public OWLDataValue getOWLConcreteData(URI uri,
String lang,
Object value)
throws OWLException
OWLException
getOWLConcreteDataType
public OWLDataType getOWLConcreteDataType(URI uri)
throws OWLException
OWLException
getOWLDataEnumeration
public OWLDataEnumeration getOWLDataEnumeration(Set values)
throws OWLException
OWLException
getOWLDataAllRestriction
public OWLDataAllRestriction getOWLDataAllRestriction(OWLDataProperty prop,
OWLDataRange type)
throws OWLException
OWLException
getOWLDataCardinalityRestriction
public OWLDataCardinalityRestriction getOWLDataCardinalityRestriction(OWLDataProperty prop,
int atLeast,
int atMost)
throws OWLException
OWLException
getOWLDataCardinalityAtLeastRestriction
public OWLDataCardinalityRestriction getOWLDataCardinalityAtLeastRestriction(OWLDataProperty prop,
int atLeast)
throws OWLException
OWLException
getOWLDataCardinalityAtMostRestriction
public OWLDataCardinalityRestriction getOWLDataCardinalityAtMostRestriction(OWLDataProperty prop,
int atMost)
throws OWLException
OWLException
getOWLDataProperty
public OWLDataProperty getOWLDataProperty(URI uri)
throws OWLException
OWLException
getOWLDataSomeRestriction
public OWLDataSomeRestriction getOWLDataSomeRestriction(OWLDataProperty prop,
OWLDataRange type)
throws OWLException
OWLException
getOWLDataValueRestriction
public OWLDataValueRestriction getOWLDataValueRestriction(OWLDataProperty prop,
OWLDataValue value)
throws OWLException
OWLException
getOWLDifferentIndividualsAxiom
public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(Set set)
throws OWLException
OWLException
getOWLDisjointClassesAxiom
public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(Set set)
throws OWLException
OWLException
getOWLEquivalentClassesAxiom
public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(Set set)
throws OWLException
OWLException
getOWLEquivalentPropertiesAxiom
public OWLEquivalentPropertiesAxiom getOWLEquivalentPropertiesAxiom(Set set)
throws OWLException
OWLException
getOWLFrame
public OWLFrame getOWLFrame(Set superClasses,
Set restrictions)
throws OWLException
OWLException
getOWLIndividual
public OWLIndividual getOWLIndividual(URI uri)
throws OWLException
OWLException
getOWLObjectAllRestriction
public OWLObjectAllRestriction getOWLObjectAllRestriction(OWLObjectProperty prop,
OWLDescription filler)
throws OWLException
OWLException
getOWLObjectCardinalityRestriction
public OWLObjectCardinalityRestriction getOWLObjectCardinalityRestriction(OWLObjectProperty prop,
int atLeast,
int atMost)
throws OWLException
OWLException
getOWLObjectCardinalityAtLeastRestriction
public OWLObjectCardinalityRestriction getOWLObjectCardinalityAtLeastRestriction(OWLObjectProperty prop,
int atLeast)
throws OWLException
OWLException
getOWLObjectCardinalityAtMostRestriction
public OWLObjectCardinalityRestriction getOWLObjectCardinalityAtMostRestriction(OWLObjectProperty prop,
int atMost)
throws OWLException
OWLException
getOWLObjectProperty
public OWLObjectProperty getOWLObjectProperty(URI uri)
throws OWLException
OWLException
getOWLObjectSomeRestriction
public OWLObjectSomeRestriction getOWLObjectSomeRestriction(OWLObjectProperty prop,
OWLDescription filler)
throws OWLException
OWLException
getOWLObjectValueRestriction
public OWLObjectValueRestriction getOWLObjectValueRestriction(OWLObjectProperty prop,
OWLIndividual filler)
throws OWLException
OWLException
getOWLNot
public OWLNot getOWLNot(OWLDescription operand)
throws OWLException
OWLException
getOWLNothing
public OWLClass getOWLNothing()
throws OWLException
OWLException
getOWLConnection
public OWLConnection getOWLConnection()
throws OWLException
OWLException
getOWLOr
public OWLOr getOWLOr(Set set)
throws OWLException
OWLException
getOWLClass
public OWLClass getOWLClass(URI uri)
throws OWLException
OWLException
getOWLEnumeration
public OWLEnumeration getOWLEnumeration(Set individuals)
throws OWLException
OWLException
getOWLSameIndividualsAxiom
public OWLSameIndividualsAxiom getOWLSameIndividualsAxiom(Set set)
throws OWLException
OWLException
getOWLSubClassAxiom
public OWLSubClassAxiom getOWLSubClassAxiom(OWLDescription subClass,
OWLDescription superClass)
throws OWLException
OWLException
getOWLSubPropertyAxiom
public OWLSubPropertyAxiom getOWLSubPropertyAxiom(OWLProperty subProperty,
OWLProperty superProperty)
throws OWLException
OWLException
getOWLThing
public OWLClass getOWLThing()
throws OWLException
OWLException
getOWLObjectPropertyInstance
public OWLObjectPropertyInstance getOWLObjectPropertyInstance(OWLIndividual subject,
OWLObjectProperty property,
OWLIndividual object)
throws OWLException
- Method getOWLOntology.
- Returns:
- OWLOntology
OWLException
getOWLDataPropertyInstance
public OWLDataPropertyInstance getOWLDataPropertyInstance(OWLIndividual subject,
OWLDataProperty property,
OWLDataValue object)
throws OWLException
OWLException
getOWLOntology
public OWLOntology getOWLOntology(URI logicalURIObject,
URI physicalURIObject)
throws OWLException
OWLException
WonderWeb