Class CompoundSelections.NewInstance<X>

  extended by org.apache.openjpa.persistence.criteria.SelectionImpl<X>
      extended by org.apache.openjpa.persistence.criteria.CompoundSelections.NewInstance<X>
Type Parameters:
X - type of the constructed instance
All Implemented Interfaces:
CompoundSelection<X>, Selection<X>, TupleElement<X>, CriteriaExpression
Enclosing class:

static class CompoundSelections.NewInstance<X>
extends SelectionImpl<X>

A compound selection which is an instance constructed of its component terms.

Constructor Summary
CompoundSelections.NewInstance(Class<X> cls, Selection<?>... selections)
Method Summary
 StringBuilder asValue(AliasContext q)
          Get a string representation of this node as a value in the context of the given query.
 FillStrategy<X> getFillStrategy()
Methods inherited from class org.apache.openjpa.persistence.criteria.SelectionImpl
acceptVisit, alias, assertValidName, asVariable, getAlias, getJavaType, isAliased, isAutoAliased, setAutoAlias
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.persistence.criteria.Selection
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType

Constructor Detail


public CompoundSelections.NewInstance(Class<X> cls,
                                      Selection<?>... selections)
Method Detail


public FillStrategy<X> getFillStrategy()


public StringBuilder asValue(AliasContext q)
Description copied from interface: CriteriaExpression
Get a string representation of this node as a value in the context of the given query.

Specified by:
asValue in interface CriteriaExpression

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.