com.clarkparsia.openrdf.util
Class ExpressionFactory.RestrictedDatatype

java.lang.Object
  extended by com.clarkparsia.openrdf.util.Expression
      extended by com.clarkparsia.openrdf.util.ExpressionFactory.Datatype
          extended by com.clarkparsia.openrdf.util.ExpressionFactory.RestrictedDatatype
Enclosing class:
ExpressionFactory

public static class ExpressionFactory.RestrictedDatatype
extends ExpressionFactory.Datatype

A user-defined datatype which has facet restrictions placed on its value

Author:
Michael Grove

Method Summary
 ExpressionFactory.RestrictedDatatype langRange(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a langRange facet restriction
 ExpressionFactory.RestrictedDatatype length(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a length facet restriction
 ExpressionFactory.RestrictedDatatype maxExclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxExclusive facet restriction
 ExpressionFactory.RestrictedDatatype maxInclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxInclusive facet restriction
 ExpressionFactory.RestrictedDatatype maxLength(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxLength facet restriction
 ExpressionFactory.RestrictedDatatype minExclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minExclusive facet restriction
 ExpressionFactory.RestrictedDatatype minInclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minInclusive facet restriction
 ExpressionFactory.RestrictedDatatype pattern(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a pattern facet restriction
 
Methods inherited from class com.clarkparsia.openrdf.util.ExpressionFactory.Datatype
getDatatype
 
Methods inherited from class com.clarkparsia.openrdf.util.Expression
graph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

minInclusive

public ExpressionFactory.RestrictedDatatype minInclusive(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minInclusive facet restriction

Overrides:
minInclusive in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

maxInclusive

public ExpressionFactory.RestrictedDatatype maxInclusive(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxInclusive facet restriction

Overrides:
maxInclusive in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

minExclusive

public ExpressionFactory.RestrictedDatatype minExclusive(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minExclusive facet restriction

Overrides:
minExclusive in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

maxExclusive

public ExpressionFactory.RestrictedDatatype maxExclusive(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxExclusive facet restriction

Overrides:
maxExclusive in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

length

public ExpressionFactory.RestrictedDatatype length(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a length facet restriction

Overrides:
length in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

maxLength

public ExpressionFactory.RestrictedDatatype maxLength(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxLength facet restriction

Overrides:
maxLength in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

pattern

public ExpressionFactory.RestrictedDatatype pattern(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a pattern facet restriction

Overrides:
pattern in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

langRange

public ExpressionFactory.RestrictedDatatype langRange(Literal theValue)
Description copied from class: ExpressionFactory.Datatype
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a langRange facet restriction

Overrides:
langRange in class ExpressionFactory.Datatype
Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype


Copyright © 2010-2013 Clark & Parsia. All Rights Reserved.