Representation - @Original public interface Datatype<Representation extends Comparable<Representation>> extends DataExpression
| Modifier and Type | Method and Description |
|---|---|
DatatypeExpression<Representation> |
asExpression() |
NumericDatatype<Representation> |
asNumericDatatype() |
OrderedDatatype<Representation> |
asOrderedDatatype() |
Literal<Representation> |
buildLiteral(String s) |
boolean |
emptyValueSpace() |
Collection<Datatype<?>> |
getAncestors() |
boolean |
getBounded() |
cardinality |
getCardinality() |
String |
getDatatypeURI() |
Set<Facet> |
getFacets() |
<O extends Comparable<O>> |
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 |
isExpression() |
boolean |
isInValueSpace(Representation l) |
boolean |
isNumericDatatype() |
boolean |
isOrderedDatatype() |
boolean |
isSubType(Datatype<?> type) |
Collection<Literal<Representation>> |
listValues() |
Representation |
parseValue(String s) |
accept, acceptboolean isExpression()
DatatypeExpression<Representation> asExpression()
UnsupportedOperationException - if this datatype is not an expression (isExpression() returns
false)Collection<Datatype<?>> getAncestors()
boolean getBounded()
cardinality getCardinality()
Set<Facet> getFacets()
Map<Facet,Comparable> getKnownNumericFacetValues()
Map<Facet,Comparable> getKnownNonNumericFacetValues()
<O extends Comparable<O>> O getFacetValue(Facet f)
f - Comparable getNumericFacetValue(Facet f)
f - boolean getNumeric()
ordered getOrdered()
boolean isCompatible(Datatype<?> type)
type - boolean isCompatible(Literal<?> l)
l - boolean isInValueSpace(Representation l)
l - boolean emptyValueSpace()
Representation parseValue(String s)
s - parses a literal form to a value in the datatype value space;
for use when building LiteralsLiteral<Representation> buildLiteral(String s)
s - boolean isSubType(Datatype<?> type)
type - String getDatatypeURI()
Collection<Literal<Representation>> listValues()
boolean isNumericDatatype()
NumericDatatype<Representation> asNumericDatatype()
boolean isOrderedDatatype()
OrderedDatatype<Representation> asOrderedDatatype()
Copyright © 2013 The University of Manchester. All Rights Reserved.