public class DatatypeRestriction extends AtomicDataRange
| Modifier and Type | Field and Description |
|---|---|
static String[] |
NO_FACET_URIs
no facet uris
|
static Constant[] |
NO_FACET_VALUES
no facet values
|
| Constructor and Description |
|---|
DatatypeRestriction(String datatypeURI,
String[] facetURIs,
Constant[] facetValues) |
| Modifier and Type | Method and Description |
|---|---|
static DatatypeRestriction |
create(String datatypeURI,
String[] facetURIs,
Constant[] facetValues) |
String |
getDatatypeURI() |
String |
getFacetURI(int index) |
Constant |
getFacetValue(int index) |
LiteralDataRange |
getNegation() |
int |
getNumberOfFacetRestrictions() |
boolean |
isAlwaysFalse() |
boolean |
isAlwaysTrue() |
String |
toString(Prefixes prefixes) |
isInternalDatatype, isNegatedInternalDatatypeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAritypublic static final String[] NO_FACET_URIs
public static final Constant[] NO_FACET_VALUES
public String getDatatypeURI()
public int getNumberOfFacetRestrictions()
public String getFacetURI(int index)
index - indexpublic Constant getFacetValue(int index)
index - indexpublic LiteralDataRange getNegation()
getNegation in class AtomicDataRangepublic boolean isAlwaysTrue()
isAlwaysTrue in class DataRangepublic boolean isAlwaysFalse()
isAlwaysFalse in class DataRangepublic String toString(Prefixes prefixes)
toString in interface DLPredicatetoString in class DataRangeprefixes - prefixespublic static DatatypeRestriction create(String datatypeURI, String[] facetURIs, Constant[] facetValues)
datatypeURI - datatypeURIfacetURIs - facetURIsfacetValues - facetValuesCopyright © 2018. All rights reserved.