org.modeshape.graph.query
Class QueryBuilder.CastAsUpperBoundary

java.lang.Object
  extended by org.modeshape.graph.query.QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder>
      extended by org.modeshape.graph.query.QueryBuilder.CastAsUpperBoundary
Enclosing class:
QueryBuilder

public class QueryBuilder.CastAsUpperBoundary
extends QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder>


Field Summary
 
Fields inherited from class org.modeshape.graph.query.QueryBuilder.CastAs
value
 
Constructor Summary
protected QueryBuilder.CastAsUpperBoundary(QueryBuilder.UpperBoundary upperBoundary, Object value)
           
 
Method Summary
 QueryBuilder.ConstraintBuilder as(String type)
          Define the right-hand side literal value cast as the specified type.
 
Methods inherited from class org.modeshape.graph.query.QueryBuilder.CastAs
asBoolean, asDate, asDouble, asLong, asPath, asString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryBuilder.CastAsUpperBoundary

protected QueryBuilder.CastAsUpperBoundary(QueryBuilder.UpperBoundary upperBoundary,
                                           Object value)
Method Detail

as

public QueryBuilder.ConstraintBuilder as(String type)
Define the right-hand side literal value cast as the specified type.

Specified by:
as in class QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder>
Parameters:
type - the property type; may not be null
Returns:
the constraint builder; never null


Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.