org.modeshape.graph.query
Class QueryBuilder.CastAsRightHandSide

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

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


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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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-2010 JBoss, a division of Red Hat. All Rights Reserved.