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
,java.lang.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.AxiomBuilder
-
Nested classes/interfaces inherited from interface com.stardog.stark.Axiom
Axiom.ClassExpression, Axiom.Datatype, Axiom.NamedDatatype, Axiom.PropertyExpression
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Statement>
graph()
java.util.Iterator<Statement>
iterator()
Axioms.RestrictedDatatype
langRange(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a langRange facet restrictionAxioms.RestrictedDatatype
length(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a length facet restrictionAxioms.RestrictedDatatype
maxExclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a maxExclusive facet restrictionAxioms.RestrictedDatatype
maxInclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a maxInclusive facet restrictionAxioms.RestrictedDatatype
maxLength(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a maxLength facet restrictionAxioms.RestrictedDatatype
minExclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a minExclusive facet restrictionAxioms.RestrictedDatatype
minInclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a minInclusive facet restrictionAxioms.RestrictedDatatype
pattern(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a pattern facet restriction-
Methods inherited from class com.stardog.stark.impl.AxiomImpl
builder, builder, builder, mainNode, of, of
-
-
-
-
Method Detail
-
graph
@Nonnull public java.util.Set<Statement> graph()
- Overrides:
graph
in classcom.stardog.stark.impl.AxiomImpl
-
iterator
public java.util.Iterator<Statement> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Statement>
- Overrides:
iterator
in classcom.stardog.stark.impl.AxiomImpl
-
minInclusive
public Axioms.RestrictedDatatype minInclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a minInclusive facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
maxInclusive
public Axioms.RestrictedDatatype maxInclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a maxInclusive facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
minExclusive
public Axioms.RestrictedDatatype minExclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a minExclusive facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
maxExclusive
public Axioms.RestrictedDatatype maxExclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a maxExclusive facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
length
public Axioms.RestrictedDatatype length(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a length facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
maxLength
public Axioms.RestrictedDatatype maxLength(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a maxLength facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
pattern
public Axioms.RestrictedDatatype pattern(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a pattern facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
langRange
public Axioms.RestrictedDatatype langRange(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatype
adding a langRange facet restriction- Parameters:
theValue
- the value for the facet restriction- Returns:
- a new datatype
-
-