R - type@Original public interface Datatype<R extends Comparable<R>> extends DataExpression
accept, accept, getIRIboolean isExpression()
DatatypeExpression<R> asExpression()
Collection<Datatype<?>> getAncestors()
boolean getBounded()
cardinality getCardinality()
Set<Facet> getFacets()
Map<Facet,Comparable> getKnownNumericFacetValues()
Map<Facet,Comparable> getKnownNonNumericFacetValues()
@Nullable Comparable getFacetValue(Facet f)
f - facet@Nullable Comparable getNumericFacetValue(Facet f)
f - facetboolean getNumeric()
ordered getOrdered()
boolean isCompatible(Datatype<?> type)
type - typeboolean isCompatible(Literal<?> l)
l - literalboolean isContradictory(Datatype<?> type)
type - typeboolean isInValueSpace(R l)
l - literalboolean emptyValueSpace()
R parseValue(String s)
s - parses a literal form to a value in the datatype value space; for
use when building LiteralsLiteral<R> buildLiteral(String s)
s - literalboolean isSubType(Datatype<?> type)
type - typeorg.semanticweb.owlapi.model.IRI getDatatypeIRI()
Collection<Literal<R>> listValues()
boolean isNumericDatatype()
NumericDatatype<R> asNumericDatatype()
boolean isOrderedDatatype()
OrderedDatatype<R> asOrderedDatatype()
default DatatypeExpression<R> wrapAsNumericExpression()
default DatatypeExpression<R> wrapAsOrderedExpression()
default DatatypeExpression<R> wrapAsDatatypeExpression()
Copyright © 2016 The University of Manchester. All rights reserved.