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.AxiomImplA 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.RestrictedDatatypelangRange(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding a langRange facet restrictionAxioms.RestrictedDatatypelength(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding a length facet restrictionAxioms.RestrictedDatatypemaxExclusive(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding a maxExclusive facet restrictionAxioms.RestrictedDatatypemaxInclusive(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding a maxInclusive facet restrictionAxioms.RestrictedDatatypemaxLength(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding a maxLength facet restrictionAxioms.RestrictedDatatypeminExclusive(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding a minExclusive facet restrictionAxioms.RestrictedDatatypeminInclusive(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding a minInclusive facet restrictionAxioms.RestrictedDatatypepattern(Literal theValue)Creates a new instance of aAxioms.RestrictedDatatypeadding 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:
graphin classcom.stardog.stark.impl.AxiomImpl
-
iterator
public java.util.Iterator<Statement> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<Statement>- Overrides:
iteratorin classcom.stardog.stark.impl.AxiomImpl
-
minInclusive
public Axioms.RestrictedDatatype minInclusive(Literal theValue)
Creates a new instance of aAxioms.RestrictedDatatypeadding 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.RestrictedDatatypeadding 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.RestrictedDatatypeadding 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.RestrictedDatatypeadding 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.RestrictedDatatypeadding 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.RestrictedDatatypeadding 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.RestrictedDatatypeadding 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.RestrictedDatatypeadding a langRange facet restriction- Parameters:
theValue- the value for the facet restriction- Returns:
- a new datatype
-
-