public class OWLDataFactoryImpl extends Object implements OWLDataFactory, Serializable, OWLClassProvider
Constructor and Description |
---|
OWLDataFactoryImpl()
default constructor
|
OWLDataFactoryImpl(boolean cache,
boolean useCompression) |
public OWLDataFactoryImpl()
public OWLDataFactoryImpl(boolean cache, boolean useCompression)
cache
- true if objects should be cacheduseCompression
- true if literals should be compressed@Deprecated public static OWLDataFactory getInstance()
public void purge()
OWLDataFactory
purge
in interface OWLDataFactory
public <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType, IRI iri)
OWLDataFactory
getOWLEntity
in interface OWLDataFactory
getOWLEntity
in interface OWLEntityByTypeProvider
E
- entity typeentityType
- The type of the entity that will be returned. Cannot be null.iri
- The IRI of the entity that will be returned. Cannot be null.public OWLClass getOWLClass(IRI iri)
OWLDataFactory
getOWLClass
in interface OWLClassProvider
getOWLClass
in interface OWLDataFactory
iri
- The IRI of the class. Cannot be null.public OWLClass getOWLClass(String iri, PrefixManager prefixManager)
OWLDataFactory
getOWLClass
in interface OWLDataFactory
iri
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Cannot
be null. Note that abbreviated IRIs always contain a colon as a
delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs. Cannot be null.public OWLAnnotationProperty getOWLAnnotationProperty(String abbreviatedIRI, PrefixManager prefixManager)
OWLDataFactory
getOWLAnnotationProperty
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note
that abbreviated IRIs always contain a colon as a delimiter, even
if the prefix name is the empty string. Cannot be null.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs. Cannot be null.public OWLAnnotationProperty getRDFSLabel()
OWLDataFactory
rdfs:label
.getRDFSLabel
in interface OWLDataFactory
rdfs:label
.public OWLAnnotationProperty getRDFSComment()
OWLDataFactory
rdfs:comment
.getRDFSComment
in interface OWLDataFactory
rdfs:comment
.public OWLAnnotationProperty getRDFSSeeAlso()
OWLDataFactory
rdfs:seeAlso
.getRDFSSeeAlso
in interface OWLDataFactory
rdfs:seeAlso
.public OWLAnnotationProperty getRDFSIsDefinedBy()
OWLDataFactory
rdfs:isDefinedBy
.getRDFSIsDefinedBy
in interface OWLDataFactory
rdfs:isDefinedBy
.public OWLAnnotationProperty getOWLVersionInfo()
OWLDataFactory
owl:versionInfo
.getOWLVersionInfo
in interface OWLDataFactory
owl:versionInfo
.public OWLAnnotationProperty getOWLBackwardCompatibleWith()
OWLDataFactory
owl:backwardCompatibleWith
.getOWLBackwardCompatibleWith
in interface OWLDataFactory
owl:backwardCompatibleWith
.public OWLAnnotationProperty getOWLIncompatibleWith()
OWLDataFactory
owl:incompatibleWith
.getOWLIncompatibleWith
in interface OWLDataFactory
owl:incompatibleWith
.public OWLAnnotationProperty getOWLDeprecated()
OWLDataFactory
owl:backwardCompatibleWith
.getOWLDeprecated
in interface OWLDataFactory
owl:backwardCompatibleWith
.public OWLDatatype getOWLDatatype(String abbreviatedIRI, PrefixManager prefixManager)
OWLDataFactory
getOWLDatatype
in interface OWLDataFactory
abbreviatedIRI
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note
that abbreviated IRIs always contain a colon as a delimiter, even
if the prefix name is the empty string. Cannot be null.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs. Cannot be null.public OWLClass getOWLThing()
OWLDataFactory
getOWLThing
in interface OWLDataFactory
public OWLClass getOWLNothing()
OWLDataFactory
getOWLNothing
in interface OWLDataFactory
public OWLDataProperty getOWLBottomDataProperty()
getOWLBottomDataProperty
in interface OWLDataFactory
public OWLObjectProperty getOWLBottomObjectProperty()
getOWLBottomObjectProperty
in interface OWLDataFactory
public OWLDataProperty getOWLTopDataProperty()
getOWLTopDataProperty
in interface OWLDataFactory
public OWLObjectProperty getOWLTopObjectProperty()
getOWLTopObjectProperty
in interface OWLDataFactory
public OWLObjectProperty getOWLObjectProperty(IRI iri)
OWLDataFactory
getOWLObjectProperty
in interface OWLDataFactory
getOWLObjectProperty
in interface OWLObjectPropertyProvider
iri
- The IRI of the object property to be obtained. Cannot be null.public OWLDataProperty getOWLDataProperty(IRI iri)
OWLDataFactory
getOWLDataProperty
in interface OWLDataFactory
getOWLDataProperty
in interface OWLDataPropertyProvider
iri
- The IRI of the data property to be obtained. Cannot be null.public OWLNamedIndividual getOWLNamedIndividual(IRI iri)
OWLDataFactory
getOWLNamedIndividual
in interface OWLDataFactory
getOWLNamedIndividual
in interface OWLNamedIndividualProvider
iri
- The IRI of the individual to be obtained. Cannot be null.public OWLDataProperty getOWLDataProperty(String curi, PrefixManager prefixManager)
OWLDataFactory
getOWLDataProperty
in interface OWLDataFactory
curi
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note
that abbreviated IRIs always contain a colon as a delimiter, even
if the prefix name is the empty string. Cannot be null.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs. Cannot be null.public OWLNamedIndividual getOWLNamedIndividual(String curi, PrefixManager prefixManager)
OWLDataFactory
getOWLNamedIndividual
in interface OWLDataFactory
curi
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Note
that abbreviated IRIs always contain a colon as a delimiter, even
if the prefix name is the empty string. Cannot be null.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs. Cannot be null.public OWLObjectProperty getOWLObjectProperty(String curi, PrefixManager prefixManager)
OWLDataFactory
getOWLObjectProperty
in interface OWLDataFactory
curi
- The abbreviated IRI, which is of the form PREFIX_NAME:RC, where
PREFIX_NAME may be the empty string (the default prefix). Cannot
be null. Note that abbreviated IRIs always contain a colon as a
delimiter, even if the prefix name is the empty string.prefixManager
- The prefix manager that is responsible for mapping prefix names to
prefix IRIs. Cannot be null.public OWLAnonymousIndividual getOWLAnonymousIndividual(String id)
OWLDataFactory
getOWLAnonymousIndividual
in interface OWLAnonymousIndividualByIdProvider
getOWLAnonymousIndividual
in interface OWLDataFactory
id
- The node ID. Note that the ID will be prefixed with _: if it is
not specified with _: as a prefix. Cannot be null.public OWLAnonymousIndividual getOWLAnonymousIndividual()
OWLDataFactory
getOWLAnonymousIndividual
in interface OWLAnonymousIndividualProvider
getOWLAnonymousIndividual
in interface OWLDataFactory
OWLAnonymousIndividualByIdProvider
public OWLDatatype getOWLDatatype(IRI iri)
OWLDataFactory
getOWLDatatype
in interface OWLDataFactory
getOWLDatatype
in interface OWLDatatypeProvider
iri
- The IRI of the datatype to be obtained. Cannot be null.public OWLLiteral getOWLLiteral(String lexicalValue, OWL2Datatype datatype)
OWLDataFactory
OWLLiteral
, which has the specified lexical value, and is
typed with the specified datatype.getOWLLiteral
in interface OWLDataFactory
lexicalValue
- The lexical value. Cannot be null.datatype
- The datatype. Cannot be null.rdf:PlainLiteral
, and the
lexical value contains a language tag then the language tag will
be parsed out of the lexical value. For example,
"abc@en"^^rdf:PlainLiteral would be parsed into a lexical value
of "abc" and a language tag of "en".public OWLLiteral getOWLLiteral(boolean value)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the boolean, and whose data type is xsd:boolean.@Deprecated public OWLLiteral getOWLTypedLiteral(String literal, OWLDatatype datatype)
getOWLTypedLiteral
in interface OWLDataFactory
literal
- The literal. Cannot be null.datatype
- The datatype. Cannot be null.@Deprecated public OWLLiteral getOWLTypedLiteral(String literal, OWL2Datatype datatype)
getOWLTypedLiteral
in interface OWLDataFactory
literal
- The literal. Cannot be null.datatype
- The OWL 2 Datatype that will type the literal. Cannot be null.@Deprecated public OWLLiteral getOWLTypedLiteral(int value)
getOWLTypedLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the integer, and whose data type is xsd:integer.@Deprecated public OWLLiteral getOWLTypedLiteral(double value)
getOWLTypedLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the double, and whose data type is xsd:double.@Deprecated public OWLLiteral getOWLTypedLiteral(boolean value)
getOWLTypedLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the boolean, and whose data type is xsd:boolean.@Deprecated public OWLLiteral getOWLTypedLiteral(float value)
getOWLTypedLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the float, and whose data type is xsd:float.@Deprecated public OWLLiteral getOWLTypedLiteral(String value)
getOWLTypedLiteral
in interface OWLDataFactory
value
- The value of the literal. Cannot be null.OWLTypedConstant
whose literal is the lexical value of
the string, and whose data type is xsd:string.@Deprecated public OWLLiteral getOWLStringLiteral(String literal, String lang)
getOWLStringLiteral
in interface OWLDataFactory
literal
- The string literal. Cannot be null.lang
- The language tag. The tag is formed according to BCP47 but
the OWL API will not check that the tag conforms to this
specification - it is up to the caller to ensure this. For
backwards compatibility, if the value of lang is null
then
this is equivalent to calling the getOWLStringLiteral(String
literal) method.@Deprecated public OWLLiteral getOWLStringLiteral(String literal)
getOWLStringLiteral
in interface OWLDataFactory
literal
- The string literal. Cannot be null.public OWLDataOneOf getOWLDataOneOf(Set<? extends OWLLiteral> values)
OWLDataFactory
getOWLDataOneOf
in interface OWLDataFactory
values
- The set of values that the data one of should contain. Cannot be
null.public OWLDataOneOf getOWLDataOneOf(OWLLiteral... values)
OWLDataFactory
getOWLDataOneOf
in interface OWLDataFactory
values
- The set of values that the data one of should contain. Cannot be
null or contain null values.public OWLDataComplementOf getOWLDataComplementOf(OWLDataRange dataRange)
OWLDataFactory
getOWLDataComplementOf
in interface OWLDataFactory
dataRange
- The datarange to be complemented. Cannot be null.public OWLDataIntersectionOf getOWLDataIntersectionOf(OWLDataRange... dataRanges)
getOWLDataIntersectionOf
in interface OWLDataFactory
dataRanges
- Cannot be null or contain nulls.public OWLDataIntersectionOf getOWLDataIntersectionOf(Set<? extends OWLDataRange> dataRanges)
getOWLDataIntersectionOf
in interface OWLDataFactory
dataRanges
- Cannot be null or contain nulls.public OWLDataUnionOf getOWLDataUnionOf(OWLDataRange... dataRanges)
getOWLDataUnionOf
in interface OWLDataFactory
dataRanges
- Cannot be null or contain nulls.public OWLDataUnionOf getOWLDataUnionOf(Set<? extends OWLDataRange> dataRanges)
getOWLDataUnionOf
in interface OWLDataFactory
dataRanges
- Cannot be null or contain nulls.public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype datatype, Set<OWLFacetRestriction> facets)
OWLDataFactory
getOWLDatatypeRestriction
in interface OWLDataFactory
datatype
- Cannot be null.facets
- Cannot be null.public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype datatype, OWLFacet facet, OWLLiteral typedConstant)
OWLDataFactory
getOWLDatatypeRestriction
in interface OWLDataFactory
datatype
- Cannot be null.facet
- Cannot be null.typedConstant
- Cannot be null.public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataRange, OWLFacetRestriction... facetRestrictions)
getOWLDatatypeRestriction
in interface OWLDataFactory
dataRange
- Cannot be null.facetRestrictions
- Cannot be null or contain nulls.public OWLDatatypeRestriction getOWLDatatypeMinInclusiveRestriction(int minInclusive)
OWLDataFactory
getOWLDatatypeMinInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the min inclusive facet restriction that will be
applied to the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the
xsd:integer
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet
value specified by the minInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxInclusiveRestriction(int maxInclusive)
OWLDataFactory
getOWLDatatypeMaxInclusiveRestriction
in interface OWLDataFactory
maxInclusive
- The value of the max inclusive facet restriction that will be
applied to the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the
xsd:integer
OWLDatatype
with a
OWLFacet.MAX_INCLUSIVE
facet
value specified by the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction(int minInclusive, int maxInclusive)
OWLDataFactory
getOWLDatatypeMinMaxInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the max inclusive facet restriction that will be
applied to the xsd:integer
datatype.maxInclusive
- The value of the max inclusive facet restriction that will be
applied to the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the
xsd:integer
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet
value specified by the minInclusive
parameter and a
OWLFacet.MAX_INCLUSIVE
facet
value specified by the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinExclusiveRestriction(int minExclusive)
OWLDataFactory
getOWLDatatypeMinExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the min exclusive facet restriction that will be
applied to the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the
xsd:integer
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet
value specified by the minExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxExclusiveRestriction(int maxExclusive)
OWLDataFactory
getOWLDatatypeMaxExclusiveRestriction
in interface OWLDataFactory
maxExclusive
- The value of the max exclusive facet restriction that will be
applied to the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the
xsd:integer
OWLDatatype
with a
OWLFacet.MAX_EXCLUSIVE
facet
value specified by the maxExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction(int minExclusive, int maxExclusive)
OWLDataFactory
getOWLDatatypeMinMaxExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the max exclusive facet restriction that will be
applied to the xsd:integer
datatype.maxExclusive
- The value of the max exclusive facet restriction that will be
applied to the xsd:integer
datatypeOWLDatatypeRestriction
that restricts the
xsd:integer
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet
value specified by the minExclusive
parameter and a
OWLFacet.MAX_EXCLUSIVE
facet
value specified by the maxExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinInclusiveRestriction(double minInclusive)
OWLDataFactory
getOWLDatatypeMinInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the min inclusive facet restriction that will be
applied to the xsd:double
datatypeOWLDatatypeRestriction
that restricts the
xsd:double
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet
value specified by the minInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxInclusiveRestriction(double maxInclusive)
OWLDataFactory
getOWLDatatypeMaxInclusiveRestriction
in interface OWLDataFactory
maxInclusive
- The value of the max inclusive facet restriction that will be
applied to the xsd:double
datatypeOWLDatatypeRestriction
that restricts the
xsd:double
OWLDatatype
with a
OWLFacet.MAX_INCLUSIVE
facet
value specified by the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction(double minInclusive, double maxInclusive)
OWLDataFactory
getOWLDatatypeMinMaxInclusiveRestriction
in interface OWLDataFactory
minInclusive
- The value of the max inclusive facet restriction that will be
applied to the xsd:double
datatype.maxInclusive
- The value of the max inclusive facet restriction that will be
applied to the xsd:double
datatypeOWLDatatypeRestriction
that restricts the
xsd:double
OWLDatatype
with a
OWLFacet.MIN_INCLUSIVE
facet
value specified by the minInclusive
parameter and a
OWLFacet.MAX_INCLUSIVE
facet
value specified by the maxInclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinExclusiveRestriction(double minExclusive)
OWLDataFactory
getOWLDatatypeMinExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the min exclusive facet restriction that will be
applied to the xsd:double
datatypeOWLDatatypeRestriction
that restricts the
xsd:double
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet
value specified by the minExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMaxExclusiveRestriction(double maxExclusive)
OWLDataFactory
getOWLDatatypeMaxExclusiveRestriction
in interface OWLDataFactory
maxExclusive
- The value of the max exclusive facet restriction that will be
applied to the xsd:double
datatypeOWLDatatypeRestriction
that restricts the
xsd:double
OWLDatatype
with a
OWLFacet.MAX_EXCLUSIVE
facet
value specified by the maxExclusive
parameter.public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction(double minExclusive, double maxExclusive)
OWLDataFactory
getOWLDatatypeMinMaxExclusiveRestriction
in interface OWLDataFactory
minExclusive
- The value of the max exclusive facet restriction that will be
applied to the xsd:double
datatype.maxExclusive
- The value of the max exclusive facet restriction that will be
applied to the xsd:double
datatypeOWLDatatypeRestriction
that restricts the
xsd:double
OWLDatatype
with a
OWLFacet.MIN_EXCLUSIVE
facet
value specified by the minExclusive
parameter and a
OWLFacet.MAX_EXCLUSIVE
facet
value specified by the maxExclusive
parameter.public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, int facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- Cannot be null.facetValue
- value for facetpublic OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, double facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- Cannot be null.facetValue
- Cannot be null.public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, float facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- Cannot be null.facetValue
- Cannot be null.public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, OWLLiteral facetValue)
getOWLFacetRestriction
in interface OWLDataFactory
facet
- Cannot be null.facetValue
- Cannot be null.public OWLObjectIntersectionOf getOWLObjectIntersectionOf(Set<? extends OWLClassExpression> operands)
getOWLObjectIntersectionOf
in interface OWLDataFactory
operands
- Cannot be null or contain nulls.public OWLObjectIntersectionOf getOWLObjectIntersectionOf(OWLClassExpression... operands)
getOWLObjectIntersectionOf
in interface OWLDataFactory
operands
- Cannot be null or contain nulls.public OWLDataAllValuesFrom getOWLDataAllValuesFrom(OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataAllValuesFrom
in interface OWLDataFactory
property
- Cannot be null.dataRange
- Cannot be null.public OWLDataExactCardinality getOWLDataExactCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- Cannot be null.public OWLDataExactCardinality getOWLDataExactCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- Cannot be null.dataRange
- Cannot be null.public OWLDataMaxCardinality getOWLDataMaxCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- Cannot be null.public OWLDataMaxCardinality getOWLDataMaxCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- Cannot be null.dataRange
- Cannot be null.public OWLDataMinCardinality getOWLDataMinCardinality(int cardinality, OWLDataPropertyExpression property)
getOWLDataMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negativeproperty
- Cannot be null.public OWLDataMinCardinality getOWLDataMinCardinality(int cardinality, OWLDataPropertyExpression property, OWLDataRange dataRange)
getOWLDataMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- Cannot be null.dataRange
- Cannot be null.public OWLDataSomeValuesFrom getOWLDataSomeValuesFrom(OWLDataPropertyExpression property, OWLDataRange dataRange)
OWLDataFactory
getOWLDataSomeValuesFrom
in interface OWLDataFactory
property
- The property that the restriction acts along. Cannot be null.dataRange
- The data range that is the filler. Cannot be null.public OWLDataHasValue getOWLDataHasValue(OWLDataPropertyExpression property, OWLLiteral value)
getOWLDataHasValue
in interface OWLDataFactory
property
- Cannot be nullvalue
- Cannot be null.public OWLObjectComplementOf getOWLObjectComplementOf(OWLClassExpression operand)
getOWLObjectComplementOf
in interface OWLDataFactory
operand
- Cannot be null.public OWLObjectAllValuesFrom getOWLObjectAllValuesFrom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectAllValuesFrom
in interface OWLDataFactory
property
- Cannot be null.classExpression
- Cannot be null.public OWLObjectOneOf getOWLObjectOneOf(Set<? extends OWLIndividual> values)
getOWLObjectOneOf
in interface OWLDataFactory
values
- Cannot be null or contain nulls.public OWLObjectOneOf getOWLObjectOneOf(OWLIndividual... individuals)
getOWLObjectOneOf
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.public OWLObjectExactCardinality getOWLObjectExactCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- Cannot be null.public OWLObjectExactCardinality getOWLObjectExactCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectExactCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- Cannot be null.classExpression
- Cannot be null.public OWLObjectMinCardinality getOWLObjectMinCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- Cannot be null.public OWLObjectMinCardinality getOWLObjectMinCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectMinCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- Cannot be null.classExpression
- Cannot be null.public OWLObjectMaxCardinality getOWLObjectMaxCardinality(int cardinality, OWLObjectPropertyExpression property)
getOWLObjectMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- Cannot be null.public OWLObjectMaxCardinality getOWLObjectMaxCardinality(int cardinality, OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectMaxCardinality
in interface OWLDataFactory
cardinality
- Cannot be negative.property
- Cannot be null.classExpression
- Cannot be null.public OWLObjectHasSelf getOWLObjectHasSelf(OWLObjectPropertyExpression property)
getOWLObjectHasSelf
in interface OWLDataFactory
property
- Cannot be null.public OWLObjectSomeValuesFrom getOWLObjectSomeValuesFrom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
OWLDataFactory
getOWLObjectSomeValuesFrom
in interface OWLDataFactory
property
- The object property that the restriction acts along. Cannot be
null.classExpression
- The class expression that is the filler. Cannot be null.public OWLObjectHasValue getOWLObjectHasValue(OWLObjectPropertyExpression property, OWLIndividual individual)
getOWLObjectHasValue
in interface OWLDataFactory
property
- Cannot be null.individual
- Cannot be null.public OWLObjectUnionOf getOWLObjectUnionOf(Set<? extends OWLClassExpression> operands)
getOWLObjectUnionOf
in interface OWLDataFactory
operands
- cannot be null or contain nulls.public OWLObjectUnionOf getOWLObjectUnionOf(OWLClassExpression... operands)
getOWLObjectUnionOf
in interface OWLDataFactory
operands
- cannot be null or contain nulls.public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression, Set<? extends OWLAnnotation> annotations)
getOWLAsymmetricObjectPropertyAxiom
in interface OWLDataFactory
propertyExpression
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLAsymmetricObjectPropertyAxiom getOWLAsymmetricObjectPropertyAxiom(OWLObjectPropertyExpression propertyExpression)
getOWLAsymmetricObjectPropertyAxiom
in interface OWLDataFactory
propertyExpression
- Cannot be null.public OWLDataPropertyDomainAxiom getOWLDataPropertyDomainAxiom(OWLDataPropertyExpression property, OWLClassExpression domain, Set<? extends OWLAnnotation> annotations)
getOWLDataPropertyDomainAxiom
in interface OWLDataFactory
property
- Cannot be null.domain
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLDataPropertyDomainAxiom getOWLDataPropertyDomainAxiom(OWLDataPropertyExpression property, OWLClassExpression domain)
getOWLDataPropertyDomainAxiom
in interface OWLDataFactory
property
- Cannot be null.domain
- Cannot be null.public OWLDataPropertyRangeAxiom getOWLDataPropertyRangeAxiom(OWLDataPropertyExpression property, OWLDataRange owlDataRange, Set<? extends OWLAnnotation> annotations)
getOWLDataPropertyRangeAxiom
in interface OWLDataFactory
property
- Cannot be null.owlDataRange
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLDataPropertyRangeAxiom getOWLDataPropertyRangeAxiom(OWLDataPropertyExpression property, OWLDataRange owlDataRange)
getOWLDataPropertyRangeAxiom
in interface OWLDataFactory
property
- Cannot be null.owlDataRange
- Cannot be null.public OWLSubDataPropertyOfAxiom getOWLSubDataPropertyOfAxiom(OWLDataPropertyExpression subProperty, OWLDataPropertyExpression superProperty, Set<? extends OWLAnnotation> annotations)
getOWLSubDataPropertyOfAxiom
in interface OWLDataFactory
subProperty
- Cannot be null.superProperty
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLSubDataPropertyOfAxiom getOWLSubDataPropertyOfAxiom(OWLDataPropertyExpression subProperty, OWLDataPropertyExpression superProperty)
getOWLSubDataPropertyOfAxiom
in interface OWLDataFactory
subProperty
- Cannot be null.superProperty
- Cannot be null.public OWLDeclarationAxiom getOWLDeclarationAxiom(OWLEntity owlEntity)
OWLDataFactory
getOWLDeclarationAxiom
in interface OWLDataFactory
owlEntity
- The declared entity. Cannot be null.public OWLDeclarationAxiom getOWLDeclarationAxiom(OWLEntity owlEntity, Set<? extends OWLAnnotation> annotations)
OWLDataFactory
getOWLDeclarationAxiom
in interface OWLDataFactory
owlEntity
- The declared entity. Cannot be null.annotations
- A possibly empty set of annotations. Cannot be null or contain
nulls.public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(Set<? extends OWLIndividual> individuals, Set<? extends OWLAnnotation> annotations)
getOWLDifferentIndividualsAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(OWLIndividual... individuals)
getOWLDifferentIndividualsAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.public OWLDifferentIndividualsAxiom getOWLDifferentIndividualsAxiom(Set<? extends OWLIndividual> individuals)
getOWLDifferentIndividualsAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(Set<? extends OWLClassExpression> classExpressions, Set<? extends OWLAnnotation> annotations)
getOWLDisjointClassesAxiom
in interface OWLDataFactory
classExpressions
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(Set<? extends OWLClassExpression> classExpressions)
getOWLDisjointClassesAxiom
in interface OWLDataFactory
classExpressions
- Cannot be null or contain nulls.public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom(OWLClassExpression... classExpressions)
getOWLDisjointClassesAxiom
in interface OWLDataFactory
classExpressions
- Cannot be null or contain nulls.public OWLDisjointDataPropertiesAxiom getOWLDisjointDataPropertiesAxiom(Set<? extends OWLDataPropertyExpression> properties, Set<? extends OWLAnnotation> annotations)
getOWLDisjointDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLDisjointDataPropertiesAxiom getOWLDisjointDataPropertiesAxiom(Set<? extends OWLDataPropertyExpression> properties)
getOWLDisjointDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLDisjointDataPropertiesAxiom getOWLDisjointDataPropertiesAxiom(OWLDataPropertyExpression... properties)
getOWLDisjointDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLDisjointObjectPropertiesAxiom getOWLDisjointObjectPropertiesAxiom(OWLObjectPropertyExpression... properties)
getOWLDisjointObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLDisjointObjectPropertiesAxiom getOWLDisjointObjectPropertiesAxiom(Set<? extends OWLObjectPropertyExpression> properties)
getOWLDisjointObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLDisjointObjectPropertiesAxiom getOWLDisjointObjectPropertiesAxiom(Set<? extends OWLObjectPropertyExpression> properties, Set<? extends OWLAnnotation> annotations)
getOWLDisjointObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(Set<? extends OWLClassExpression> classExpressions, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
classExpressions
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(OWLClassExpression clsA, OWLClassExpression clsB)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
clsA
- Cannot be null.clsB
- Cannot be null.public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(OWLClassExpression clsA, OWLClassExpression clsB, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
clsA
- Cannot be null.clsB
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(OWLClassExpression... classExpressions)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
classExpressions
- Cannot be null or contain nulls.public OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom(Set<? extends OWLClassExpression> classExpressions)
getOWLEquivalentClassesAxiom
in interface OWLDataFactory
classExpressions
- Cannot be null or contain nulls.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(Set<? extends OWLDataPropertyExpression> properties, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(Set<? extends OWLDataPropertyExpression> properties)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(OWLDataPropertyExpression propertyA, OWLDataPropertyExpression propertyB)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
propertyA
- Cannot be null.propertyB
- Cannot be null.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(OWLDataPropertyExpression propertyA, OWLDataPropertyExpression propertyB, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
propertyA
- Cannot be null.propertyB
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLEquivalentDataPropertiesAxiom getOWLEquivalentDataPropertiesAxiom(OWLDataPropertyExpression... properties)
getOWLEquivalentDataPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(OWLObjectPropertyExpression... properties)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(Set<? extends OWLObjectPropertyExpression> properties)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(OWLObjectPropertyExpression propertyA, OWLObjectPropertyExpression propertyB)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
propertyA
- Cannot be null.propertyB
- Cannot be null.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(OWLObjectPropertyExpression propertyA, OWLObjectPropertyExpression propertyB, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
propertyA
- Cannot be null.propertyB
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLFunctionalDataPropertyAxiom getOWLFunctionalDataPropertyAxiom(OWLDataPropertyExpression property, Set<? extends OWLAnnotation> annotations)
getOWLFunctionalDataPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLFunctionalDataPropertyAxiom getOWLFunctionalDataPropertyAxiom(OWLDataPropertyExpression property)
getOWLFunctionalDataPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.public OWLFunctionalObjectPropertyAxiom getOWLFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations)
getOWLFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLFunctionalObjectPropertyAxiom getOWLFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.public OWLImportsDeclaration getOWLImportsDeclaration(IRI importedOntologyIRI)
getOWLImportsDeclaration
in interface OWLDataFactory
importedOntologyIRI
- Cannot be null.public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object, Set<? extends OWLAnnotation> annotations)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.object
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.object
- Cannot be null.public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, int value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.value
- Cannot be null.public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, double value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.value
- Cannot be null.public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, float value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.value
- Cannot be null.public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, boolean value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.value
- Cannot be null.public OWLDataPropertyAssertionAxiom getOWLDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, String value)
getOWLDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.value
- Cannot be null.public OWLNegativeDataPropertyAssertionAxiom getOWLNegativeDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object)
getOWLNegativeDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.object
- Cannot be null.public OWLNegativeDataPropertyAssertionAxiom getOWLNegativeDataPropertyAssertionAxiom(OWLDataPropertyExpression property, OWLIndividual subject, OWLLiteral object, Set<? extends OWLAnnotation> annotations)
getOWLNegativeDataPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.object
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLNegativeObjectPropertyAssertionAxiom getOWLNegativeObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual subject, OWLIndividual object)
getOWLNegativeObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.object
- Cannot be null.public OWLNegativeObjectPropertyAssertionAxiom getOWLNegativeObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual subject, OWLIndividual object, Set<? extends OWLAnnotation> annotations)
getOWLNegativeObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.object
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLObjectPropertyAssertionAxiom getOWLObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual subject, OWLIndividual object)
getOWLObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.object
- Cannot be null.public OWLClassAssertionAxiom getOWLClassAssertionAxiom(OWLClassExpression classExpression, OWLIndividual individual)
getOWLClassAssertionAxiom
in interface OWLDataFactory
classExpression
- Cannot be null.individual
- Cannot be null.public OWLClassAssertionAxiom getOWLClassAssertionAxiom(OWLClassExpression classExpression, OWLIndividual individual, Set<? extends OWLAnnotation> annotations)
getOWLClassAssertionAxiom
in interface OWLDataFactory
classExpression
- Cannot be null.individual
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLInverseFunctionalObjectPropertyAxiom getOWLInverseFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLInverseFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.public OWLInverseFunctionalObjectPropertyAxiom getOWLInverseFunctionalObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations)
getOWLInverseFunctionalObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations)
getOWLIrreflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLReflexiveObjectPropertyAxiom getOWLReflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLReflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.public OWLIrreflexiveObjectPropertyAxiom getOWLIrreflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLIrreflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.public OWLObjectPropertyDomainAxiom getOWLObjectPropertyDomainAxiom(OWLObjectPropertyExpression property, OWLClassExpression classExpression, Set<? extends OWLAnnotation> annotations)
getOWLObjectPropertyDomainAxiom
in interface OWLDataFactory
property
- Cannot be null.classExpression
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLObjectPropertyDomainAxiom getOWLObjectPropertyDomainAxiom(OWLObjectPropertyExpression property, OWLClassExpression classExpression)
getOWLObjectPropertyDomainAxiom
in interface OWLDataFactory
property
- Cannot be null.classExpression
- Cannot be null.public OWLObjectPropertyRangeAxiom getOWLObjectPropertyRangeAxiom(OWLObjectPropertyExpression property, OWLClassExpression range, Set<? extends OWLAnnotation> annotations)
getOWLObjectPropertyRangeAxiom
in interface OWLDataFactory
property
- Cannot be null.range
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLObjectPropertyRangeAxiom getOWLObjectPropertyRangeAxiom(OWLObjectPropertyExpression property, OWLClassExpression range)
getOWLObjectPropertyRangeAxiom
in interface OWLDataFactory
property
- Cannot be null.range
- Cannot be null.public OWLSubObjectPropertyOfAxiom getOWLSubObjectPropertyOfAxiom(OWLObjectPropertyExpression subProperty, OWLObjectPropertyExpression superProperty, Set<? extends OWLAnnotation> annotations)
getOWLSubObjectPropertyOfAxiom
in interface OWLDataFactory
subProperty
- Cannot be null.superProperty
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLSubObjectPropertyOfAxiom getOWLSubObjectPropertyOfAxiom(OWLObjectPropertyExpression subProperty, OWLObjectPropertyExpression superProperty)
getOWLSubObjectPropertyOfAxiom
in interface OWLDataFactory
subProperty
- Cannot be null.superProperty
- Cannot be null.public OWLReflexiveObjectPropertyAxiom getOWLReflexiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations)
getOWLReflexiveObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLSameIndividualAxiom getOWLSameIndividualAxiom(Set<? extends OWLIndividual> individuals, Set<? extends OWLAnnotation> annotations)
getOWLSameIndividualAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLSameIndividualAxiom getOWLSameIndividualAxiom(OWLIndividual... individuals)
getOWLSameIndividualAxiom
in interface OWLDataFactory
individuals
- Cannot be null.public OWLSameIndividualAxiom getOWLSameIndividualAxiom(Set<? extends OWLIndividual> individuals)
getOWLSameIndividualAxiom
in interface OWLDataFactory
individuals
- Cannot be null or contain nulls.public OWLSubClassOfAxiom getOWLSubClassOfAxiom(OWLClassExpression subClass, OWLClassExpression superClass, Set<? extends OWLAnnotation> annotations)
getOWLSubClassOfAxiom
in interface OWLDataFactory
subClass
- Cannot be null.superClass
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLSubClassOfAxiom getOWLSubClassOfAxiom(OWLClassExpression subClass, OWLClassExpression superClass)
getOWLSubClassOfAxiom
in interface OWLDataFactory
subClass
- Cannot be null.superClass
- Cannot be null.public OWLSymmetricObjectPropertyAxiom getOWLSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations)
getOWLSymmetricObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLSymmetricObjectPropertyAxiom getOWLSymmetricObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLSymmetricObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.public OWLTransitiveObjectPropertyAxiom getOWLTransitiveObjectPropertyAxiom(OWLObjectPropertyExpression property, Set<? extends OWLAnnotation> annotations)
getOWLTransitiveObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLTransitiveObjectPropertyAxiom getOWLTransitiveObjectPropertyAxiom(OWLObjectPropertyExpression property)
getOWLTransitiveObjectPropertyAxiom
in interface OWLDataFactory
property
- Cannot be null.public OWLObjectInverseOf getOWLObjectInverseOf(OWLObjectPropertyExpression property)
OWLDataFactory
getOWLObjectInverseOf
in interface OWLDataFactory
property
- The property of which the inverse will be returned. Cannot be
null.public OWLInverseObjectPropertiesAxiom getOWLInverseObjectPropertiesAxiom(OWLObjectPropertyExpression forwardProperty, OWLObjectPropertyExpression inverseProperty, Set<? extends OWLAnnotation> annotations)
getOWLInverseObjectPropertiesAxiom
in interface OWLDataFactory
forwardProperty
- Cannot be null.inverseProperty
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLInverseObjectPropertiesAxiom getOWLInverseObjectPropertiesAxiom(OWLObjectPropertyExpression forwardProperty, OWLObjectPropertyExpression inverseProperty)
getOWLInverseObjectPropertiesAxiom
in interface OWLDataFactory
forwardProperty
- Cannot be null.inverseProperty
- Cannot be null.public OWLSubPropertyChainOfAxiom getOWLSubPropertyChainOfAxiom(List<? extends OWLObjectPropertyExpression> chain, OWLObjectPropertyExpression superProperty, Set<? extends OWLAnnotation> annotations)
getOWLSubPropertyChainOfAxiom
in interface OWLDataFactory
chain
- Cannot be null or contain nulls.superProperty
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLSubPropertyChainOfAxiom getOWLSubPropertyChainOfAxiom(List<? extends OWLObjectPropertyExpression> chain, OWLObjectPropertyExpression superProperty)
getOWLSubPropertyChainOfAxiom
in interface OWLDataFactory
chain
- Cannot be null or contain nulls.superProperty
- Cannot be null.public OWLHasKeyAxiom getOWLHasKeyAxiom(OWLClassExpression ce, Set<? extends OWLPropertyExpression<?,?>> properties, Set<? extends OWLAnnotation> annotations)
getOWLHasKeyAxiom
in interface OWLDataFactory
ce
- Cannot be null.properties
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLHasKeyAxiom getOWLHasKeyAxiom(OWLClassExpression ce, Set<? extends OWLPropertyExpression<?,?>> properties)
getOWLHasKeyAxiom
in interface OWLDataFactory
ce
- Cannot be null.properties
- Cannot be null or contain nulls.public OWLHasKeyAxiom getOWLHasKeyAxiom(OWLClassExpression ce, OWLPropertyExpression<?,?>... properties)
getOWLHasKeyAxiom
in interface OWLDataFactory
ce
- Cannot be null.properties
- Cannot be null or contain nulls.public OWLDisjointUnionAxiom getOWLDisjointUnionAxiom(OWLClass owlClass, Set<? extends OWLClassExpression> classExpressions, Set<? extends OWLAnnotation> annotations)
getOWLDisjointUnionAxiom
in interface OWLDataFactory
owlClass
- left hand side of the axiom. Cannot be null.classExpressions
- right hand side of the axiom. Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLDisjointUnionAxiom getOWLDisjointUnionAxiom(OWLClass owlClass, Set<? extends OWLClassExpression> classExpressions)
getOWLDisjointUnionAxiom
in interface OWLDataFactory
owlClass
- left hand side of the axiom. Cannot be null.classExpressions
- right hand side of the axiom. Cannot be null or contain nulls.public OWLEquivalentObjectPropertiesAxiom getOWLEquivalentObjectPropertiesAxiom(Set<? extends OWLObjectPropertyExpression> properties, Set<? extends OWLAnnotation> annotations)
getOWLEquivalentObjectPropertiesAxiom
in interface OWLDataFactory
properties
- Cannot be null or contain nulls.annotations
- Cannot be null or contain nulls.public OWLObjectPropertyAssertionAxiom getOWLObjectPropertyAssertionAxiom(OWLObjectPropertyExpression property, OWLIndividual individual, OWLIndividual object, Set<? extends OWLAnnotation> annotations)
getOWLObjectPropertyAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.individual
- Cannot be null.object
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLSubAnnotationPropertyOfAxiom getOWLSubAnnotationPropertyOfAxiom(OWLAnnotationProperty sub, OWLAnnotationProperty sup)
getOWLSubAnnotationPropertyOfAxiom
in interface OWLDataFactory
sub
- Cannot be null.sup
- Cannot be null.public OWLSubAnnotationPropertyOfAxiom getOWLSubAnnotationPropertyOfAxiom(OWLAnnotationProperty sub, OWLAnnotationProperty sup, Set<? extends OWLAnnotation> annotations)
getOWLSubAnnotationPropertyOfAxiom
in interface OWLDataFactory
sub
- Cannot be null.sup
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri)
OWLDataFactory
getOWLAnnotationProperty
in interface OWLAnnotationPropertyProvider
getOWLAnnotationProperty
in interface OWLDataFactory
iri
- The IRI of the annotation property to be obtained. Cannot be null.public OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value)
OWLDataFactory
getOWLAnnotation
in interface OWLDataFactory
property
- the annotation property. Cannot be null.value
- The annotation value. Cannot be null.public OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value, Set<? extends OWLAnnotation> annotations)
OWLDataFactory
getOWLAnnotation
in interface OWLDataFactory
property
- the annotation property. Cannot be null.value
- The annotation value. Cannot be null.annotations
- Annotations on the annotation. Cannot be null or contain nulls.public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, OWLAnnotation annotation)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
subject
- Cannot be null.annotation
- Cannot be null.public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, OWLAnnotation annotation, Set<? extends OWLAnnotation> annotations)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
subject
- Cannot be null.annotation
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationProperty property, OWLAnnotationSubject subject, OWLAnnotationValue value)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.value
- Cannot be null.public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationProperty property, OWLAnnotationSubject subject, OWLAnnotationValue value, Set<? extends OWLAnnotation> annotations)
getOWLAnnotationAssertionAxiom
in interface OWLDataFactory
property
- Cannot be null.subject
- Cannot be null.value
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLAnnotationAssertionAxiom getDeprecatedOWLAnnotationAssertionAxiom(IRI subject)
OWLDataFactory
"true"^^xsd:boolean
. (See Annotation
Properties in the OWL 2 SpecificationgetDeprecatedOWLAnnotationAssertionAxiom
in interface OWLDataFactory
subject
- The IRI to be deprecated. Cannot be null.public OWLAnnotationPropertyDomainAxiom getOWLAnnotationPropertyDomainAxiom(OWLAnnotationProperty prop, IRI domain, Set<? extends OWLAnnotation> annotations)
getOWLAnnotationPropertyDomainAxiom
in interface OWLDataFactory
prop
- Cannot be null.domain
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLAnnotationPropertyDomainAxiom getOWLAnnotationPropertyDomainAxiom(OWLAnnotationProperty prop, IRI domain)
getOWLAnnotationPropertyDomainAxiom
in interface OWLDataFactory
prop
- Cannot be null.domain
- Cannot be null.public OWLAnnotationPropertyRangeAxiom getOWLAnnotationPropertyRangeAxiom(OWLAnnotationProperty prop, IRI range, Set<? extends OWLAnnotation> annotations)
getOWLAnnotationPropertyRangeAxiom
in interface OWLDataFactory
prop
- Cannot be null.range
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLAnnotationPropertyRangeAxiom getOWLAnnotationPropertyRangeAxiom(OWLAnnotationProperty prop, IRI range)
getOWLAnnotationPropertyRangeAxiom
in interface OWLDataFactory
prop
- Cannot be null.range
- Cannot be null.@Deprecated public SWRLRule getSWRLRule(IRI iri, Set<? extends SWRLAtom> body, Set<? extends SWRLAtom> head)
getSWRLRule(java.util.Set, java.util.Set, java.util.Set)
or getSWRLRule(java.util.Set, java.util.Set)
instead. Gets a SWRL rule which is named with a URIgetSWRLRule
in interface SWRLDataFactory
iri
- The iri of the rule - NOTE THAT THIS PARAMETER WILL BE IGNOREDbody
- The atoms that make up the body of the rulehead
- The atoms that make up the head of the rule@Deprecated public SWRLRule getSWRLRule(NodeID nodeID, Set<? extends SWRLAtom> body, Set<? extends SWRLAtom> head)
getSWRLRule(java.util.Set, java.util.Set, java.util.Set)
or getSWRLRule(java.util.Set, java.util.Set)
instead.getSWRLRule
in interface SWRLDataFactory
nodeID
- The node ID - NOTE THAT THIS PARAMETER WILL BE IGNOREDbody
- The atoms that make up the body of the rulehead
- The atoms that make up the head of the rulepublic SWRLRule getSWRLRule(Set<? extends SWRLAtom> body, Set<? extends SWRLAtom> head, Set<OWLAnnotation> annotations)
SWRLDataFactory
getSWRLRule
in interface SWRLDataFactory
body
- The atoms that make up the bodyhead
- The atoms that make up the headannotations
- The annotations for the rule (may be an empty set)public SWRLRule getSWRLRule(Set<? extends SWRLAtom> antecedent, Set<? extends SWRLAtom> consequent)
SWRLDataFactory
getSWRLRule
in interface SWRLDataFactory
antecedent
- The atoms that make up the bodyconsequent
- The atoms that make up the headpublic SWRLClassAtom getSWRLClassAtom(OWLClassExpression predicate, SWRLIArgument arg)
SWRLDataFactory
getSWRLClassAtom
in interface SWRLDataFactory
predicate
- The class expression that represents the predicate of the atomarg
- The argument (x)public SWRLDataRangeAtom getSWRLDataRangeAtom(OWLDataRange predicate, SWRLDArgument arg)
SWRLDataFactory
getSWRLDataRangeAtom
in interface SWRLDataFactory
predicate
- The data range that represents the predicate of the atomarg
- The argument (x)public SWRLObjectPropertyAtom getSWRLObjectPropertyAtom(OWLObjectPropertyExpression property, SWRLIArgument arg0, SWRLIArgument arg1)
SWRLDataFactory
getSWRLObjectPropertyAtom
in interface SWRLDataFactory
property
- The property (P) representing the atom predicatearg0
- The first argument (x)arg1
- The second argument (y)public SWRLDataPropertyAtom getSWRLDataPropertyAtom(OWLDataPropertyExpression property, SWRLIArgument arg0, SWRLDArgument arg1)
SWRLDataFactory
getSWRLDataPropertyAtom
in interface SWRLDataFactory
property
- The property (P) that represents the atom predicatearg0
- The first argument (x)arg1
- The second argument (y)public SWRLBuiltInAtom getSWRLBuiltInAtom(IRI builtInIRI, List<SWRLDArgument> args)
SWRLDataFactory
SWRLBuiltInsVocabulary
.getSWRLBuiltInAtom
in interface SWRLDataFactory
builtInIRI
- The builtin predicate IRIargs
- A non-empty set of SWRL Arguments.public SWRLVariable getSWRLVariable(IRI var)
SWRLDataFactory
getSWRLVariable
in interface SWRLDataFactory
var
- The id (IRI) of the variablepublic SWRLIndividualArgument getSWRLIndividualArgument(OWLIndividual individual)
SWRLDataFactory
getSWRLIndividualArgument
in interface SWRLDataFactory
individual
- The individual that is the object argumentpublic SWRLLiteralArgument getSWRLLiteralArgument(OWLLiteral literal)
SWRLDataFactory
getSWRLLiteralArgument
in interface SWRLDataFactory
literal
- The constant that is the object argumentpublic SWRLDifferentIndividualsAtom getSWRLDifferentIndividualsAtom(SWRLIArgument arg0, SWRLIArgument arg1)
getSWRLDifferentIndividualsAtom
in interface SWRLDataFactory
arg0
- first individualarg1
- second individualpublic SWRLSameIndividualAtom getSWRLSameIndividualAtom(SWRLIArgument arg0, SWRLIArgument arg1)
getSWRLSameIndividualAtom
in interface SWRLDataFactory
arg0
- first individualarg1
- second individualpublic OWLDatatypeDefinitionAxiom getOWLDatatypeDefinitionAxiom(OWLDatatype datatype, OWLDataRange dataRange)
getOWLDatatypeDefinitionAxiom
in interface OWLDataFactory
datatype
- Cannot be null.dataRange
- Cannot be null.public OWLDatatypeDefinitionAxiom getOWLDatatypeDefinitionAxiom(OWLDatatype datatype, OWLDataRange dataRange, Set<? extends OWLAnnotation> annotations)
getOWLDatatypeDefinitionAxiom
in interface OWLDataFactory
datatype
- Cannot be null.dataRange
- Cannot be null.annotations
- Cannot be null or contain nulls.public OWLLiteral getOWLLiteral(String lexicalValue, OWLDatatype datatype)
OWLDataFactory
OWLLiteral
, which has the specified lexical value, and is
typed with the specified datatype.getOWLLiteral
in interface OWLDataFactory
lexicalValue
- The lexical value. Cannot be null.datatype
- The datatype. Cannot be null.rdf:PlainLiteral
, and the
lexical value contains a language tag then the language tag will
be parsed out of the lexical value. For example,
"abc@en"^^rdf:PlainLiteral would be parsed into a lexical value
of "abc" and a language tag of "en".public OWLLiteral getOWLLiteral(int value)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the integer, and whose data type is xsd:integer.public OWLLiteral getOWLLiteral(double value)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the double, and whose data type is xsd:double.public OWLLiteral getOWLLiteral(float value)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- The value of the literalOWLTypedConstant
whose literal is the lexical value of
the float, and whose data type is xsd:float.public OWLLiteral getOWLLiteral(String value)
OWLDataFactory
getOWLLiteral
in interface OWLDataFactory
value
- The lexical value of the literal. Cannot be null.public OWLLiteral getOWLLiteral(String literal, String lang)
OWLDataFactory
OWLRDFVocabulary.RDF_PLAIN_LITERAL
).getOWLLiteral
in interface OWLDataFactory
literal
- The string literal. Cannot be null.lang
- The language tag. The empty string may be specified to indicate an
empty language tag. Leading and trailing white space will be
removed from the tag and the tag will be normalised to LOWER CASE.
If lang
is null
then lang
will be
converted to the empty string (for backwards compatibility). If
not empty, the tag is formed according to BCP47 but
the OWL API will not check that the tag conforms to this
specification - it is up to the caller to ensure this.public OWLDatatype getBooleanOWLDatatype()
OWLDataFactory
getBooleanOWLDatatype
in interface OWLDataFactory
public OWLDatatype getDoubleOWLDatatype()
OWLDataFactory
getDoubleOWLDatatype
in interface OWLDataFactory
public OWLDatatype getFloatOWLDatatype()
OWLDataFactory
getFloatOWLDatatype
in interface OWLDataFactory
public OWLDatatype getIntegerOWLDatatype()
OWLDataFactory
getIntegerOWLDatatype
in interface OWLDataFactory
public OWLDatatype getTopDatatype()
OWLDataFactory
getTopDatatype
in interface OWLDataFactory
public OWLDatatype getRDFPlainLiteral()
OWLDataFactory
getRDFPlainLiteral
in interface OWLDataFactory
rdf:PlainLiteral
Copyright © 2017 The University of Manchester. All Rights Reserved.