Package com.stardog.stark
Class Axioms.RestrictedDatatype
java.lang.Object
com.stardog.stark.impl.AxiomImpl
com.stardog.stark.Axioms.RestrictedDatatype
- All Implemented Interfaces:
Axiom,Axiom.Datatype,Axiom.NamedDatatype,Iterable<Statement>
- Enclosing class:
Axioms
public static class Axioms.RestrictedDatatype
extends com.stardog.stark.impl.AxiomImpl
A user-defined datatype which has facet restrictions placed on its value
- Author:
- Michael Grove
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stardog.stark.impl.AxiomImpl
com.stardog.stark.impl.AxiomImpl.AxiomBuilderNested classes/interfaces inherited from interface com.stardog.stark.Axiom
Axiom.ClassExpression, Axiom.Datatype, Axiom.NamedDatatype, Axiom.PropertyExpression -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondatatype()Returns the dataype represented by this expressiongraph()iterator()Creates a new instance of aAxioms.RestrictedDatatypeadding a langRange facet restrictionCreates a new instance of aAxioms.RestrictedDatatypeadding a length facet restrictionmaxExclusive(Literal theValue) Creates a new instance of aAxioms.RestrictedDatatypeadding a maxExclusive facet restrictionmaxInclusive(Literal theValue) Creates a new instance of aAxioms.RestrictedDatatypeadding a maxInclusive facet restrictionCreates a new instance of aAxioms.RestrictedDatatypeadding a maxLength facet restrictionminExclusive(Literal theValue) Creates a new instance of aAxioms.RestrictedDatatypeadding a minExclusive facet restrictionminInclusive(Literal theValue) Creates a new instance of aAxioms.RestrictedDatatypeadding a minInclusive facet restrictionCreates a new instance of aAxioms.RestrictedDatatypeadding a pattern facet restrictionMethods inherited from class com.stardog.stark.impl.AxiomImpl
builder, builder, builder, mainNode, of, ofMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
mDatatype
-
-
Method Details
-
graph
- Overrides:
graphin classcom.stardog.stark.impl.AxiomImpl
-
iterator
-
minInclusive
Creates a new instance of aAxioms.RestrictedDatatypeadding a minInclusive facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
maxInclusive
Creates a new instance of aAxioms.RestrictedDatatypeadding a maxInclusive facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
minExclusive
Creates a new instance of aAxioms.RestrictedDatatypeadding a minExclusive facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
maxExclusive
Creates a new instance of aAxioms.RestrictedDatatypeadding a maxExclusive facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
length
Creates a new instance of aAxioms.RestrictedDatatypeadding a length facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
maxLength
Creates a new instance of aAxioms.RestrictedDatatypeadding a maxLength facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
pattern
Creates a new instance of aAxioms.RestrictedDatatypeadding a pattern facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
langRange
Creates a new instance of aAxioms.RestrictedDatatypeadding a langRange facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
datatype
Returns the dataype represented by this expression- Specified by:
datatypein interfaceAxiom.NamedDatatype- Returns:
- the datatype
-