org.apache.openjpa.persistence.criteria
Class CompoundSelections.NewInstance<X>

java.lang.Object
  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:
CompoundSelections

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
alias
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 

Constructor Detail

CompoundSelections.NewInstance

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

getFillStrategy

public FillStrategy<X> getFillStrategy()

asValue

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-2010 Apache Software Foundation. All Rights Reserved.