org.modeshape.jcr.query

## Class QueryBuilder.CastAsUpperBoundary

- java.lang.Object
- - org.modeshape.jcr.query.QueryBuilder.CastAs<QueryBuilder.ConstraintBuilder>
  - - org.modeshape.jcr.query.QueryBuilder.CastAsUpperBoundary

- Enclosing class:
    QueryBuilder

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

- - ### Field Summary

    - ### Fields inherited from class org.modeshape.jcr.query.QueryBuilder.CastAs

      `value`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `QueryBuilder.CastAsUpperBoundary(QueryBuilder.UpperBoundary upperBoundary, Object value)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `QueryBuilder.ConstraintBuilder` | `as(String type)` Define the right-hand side literal value cast as the specified type.

    - ### Methods inherited from class org.modeshape.jcr.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-2014 JBoss, a division of Red Hat. All Rights Reserved.