org.modeshape.graph.query
Class QueryBuilder.CastAsLowerBoundary

java.lang.Object
  extended by org.modeshape.graph.query.QueryBuilder.CastAs<QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary>>
      extended by org.modeshape.graph.query.QueryBuilder.CastAsLowerBoundary
Enclosing class:
QueryBuilder

public class QueryBuilder.CastAsLowerBoundary
extends QueryBuilder.CastAs<QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary>>


Field Summary
 
Fields inherited from class org.modeshape.graph.query.QueryBuilder.CastAs
value
 
Constructor Summary
protected QueryBuilder.CastAsLowerBoundary(QueryBuilder.ComparisonBuilder builder, Object value)
           
 
Method Summary
 QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary> as(String type)
          Define the left-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.CastAsLowerBoundary

protected QueryBuilder.CastAsLowerBoundary(QueryBuilder.ComparisonBuilder builder,
                                           Object value)
Method Detail

as

public QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary> as(String type)
Define the left-hand side literal value cast as the specified type.

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


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