R - type@Original public interface Datatype<R extends Comparable<R>> extends DataExpression
| Modifier and Type | Method and Description |
|---|---|
DatatypeExpression<R> |
asExpression() |
NumericDatatype<R> |
asNumericDatatype() |
OrderedDatatype<R> |
asOrderedDatatype() |
Literal<R> |
buildLiteral(String s) |
boolean |
emptyValueSpace() |
Collection<Datatype<?>> |
getAncestors() |
boolean |
getBounded() |
cardinality |
getCardinality() |
org.semanticweb.owlapi.model.IRI |
getDatatypeIRI() |
Set<Facet> |
getFacets() |
Comparable |
getFacetValue(Facet f) |
Map<Facet,Comparable> |
getKnownNonNumericFacetValues() |
Map<Facet,Comparable> |
getKnownNumericFacetValues() |
boolean |
getNumeric() |
Comparable |
getNumericFacetValue(Facet f) |
ordered |
getOrdered() |
boolean |
isCompatible(Datatype<?> type) |
boolean |
isCompatible(Literal<?> l) |
boolean |
isContradictory(Datatype<?> type) |
boolean |
isExpression() |
boolean |
isInValueSpace(R l) |
boolean |
isNumericDatatype() |
boolean |
isOrderedDatatype() |
boolean |
isSubType(Datatype<?> type) |
Collection<Literal<R>> |
listValues() |
R |
parseValue(String s) |
accept, acceptboolean isExpression()
@Nonnull DatatypeExpression<R> asExpression()
@Nonnull Collection<Datatype<?>> getAncestors()
boolean getBounded()
@Nonnull cardinality getCardinality()
@Nonnull Set<Facet> getFacets()
Map<Facet,Comparable> getKnownNumericFacetValues()
Map<Facet,Comparable> getKnownNonNumericFacetValues()
Comparable getFacetValue(Facet f)
f - facetComparable 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()
@Nonnull R parseValue(@Nonnull String s)
s - parses a literal form to a value in the datatype value space; for
use when building Literals@Nonnull Literal<R> buildLiteral(@Nonnull String s)
s - literalboolean isSubType(@Nonnull Datatype<?> type)
type - type@Nonnull org.semanticweb.owlapi.model.IRI getDatatypeIRI()
@Nonnull Collection<Literal<R>> listValues()
boolean isNumericDatatype()
@Nonnull NumericDatatype<R> asNumericDatatype()
boolean isOrderedDatatype()
@Nonnull OrderedDatatype<R> asOrderedDatatype()
Copyright © 2015 The University of Manchester. All rights reserved.