|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataRange
| Method Summary | |
|---|---|
void |
addFacet(DatatypeRestriction.Facets facet,
java.lang.String value)
Adds a facet, if it is supported by the implementation that implements the data range. |
boolean |
addOneOf(DataConstant constant)
Adds constant to the values that represent this data range. |
DatatypeRestriction.DT |
getDatatype()
The datatype implements this DataRange instance |
java.net.URI |
getDatatypeURI()
The URI of the datatype that implements this DataRange instance |
CanonicalDataRange |
getNewInstance()
|
java.util.Set<DataConstant> |
getOneOf()
Constants that are representing the allowed assignments for this datatype restriction. |
boolean |
isBottom()
Checks whether this data range cannot contain values |
boolean |
isNegated()
Checks whether this data range is negated. |
void |
negate()
Negate this data range, i.e., if the range was negated it is no longer negated afterwards and if it was not negated it will be negated afterwards. |
boolean |
supports(DatatypeRestriction.Facets facet)
Checks whether the given facet is supported by the concrete implementation of this data range. |
| Methods inherited from interface org.semanticweb.HermiT.model.DLPredicate |
|---|
getArity, toString |
| Method Detail |
|---|
CanonicalDataRange getNewInstance()
java.net.URI getDatatypeURI()
DatatypeRestriction.DT getDatatype()
java.util.Set<DataConstant> getOneOf()
boolean addOneOf(DataConstant constant)
constant - A constants that is a String representation of a value
that is to be interpreted according to the datatype URI of the
concrete implementation of the DataRange
boolean isNegated()
void negate()
boolean isBottom()
void addFacet(DatatypeRestriction.Facets facet,
java.lang.String value)
throws java.lang.IllegalArgumentException
facet - A facet.value - A String representation of the facet value.
java.lang.IllegalArgumentException - if the facet is not supported by the
concrete realisation of this data range.boolean supports(DatatypeRestriction.Facets facet)
facet - a facet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||