org.hibernate.ejb.criteria.expression
Class CompoundSelectionImpl<X>

java.lang.Object
  extended by org.hibernate.ejb.criteria.AbstractNode
      extended by org.hibernate.ejb.criteria.expression.AbstractTupleElement<X>
          extended by org.hibernate.ejb.criteria.expression.SelectionImpl<X>
              extended by org.hibernate.ejb.criteria.expression.CompoundSelectionImpl<X>
All Implemented Interfaces:
Serializable, javax.persistence.criteria.CompoundSelection<X>, javax.persistence.criteria.Selection<X>, TupleElement<X>, ParameterContainer, Renderable, SelectionImplementor<X>, TupleElementImplementor<X>

public class CompoundSelectionImpl<X>
extends SelectionImpl<X>
implements javax.persistence.criteria.CompoundSelection<X>, Renderable, Serializable

The Hibernate implementation of the JPA CompoundSelection contract.

Author:
Steve Ebersole
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.hibernate.ejb.criteria.ParameterContainer
ParameterContainer.Helper
 
Constructor Summary
CompoundSelectionImpl(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, List<javax.persistence.criteria.Selection<?>> selectionItems)
           
 
Method Summary
 List<javax.persistence.criteria.Selection<?>> getCompoundSelectionItems()
           
 List<ValueHandlerFactory.ValueHandler> getValueHandlers()
           
 boolean isCompoundSelection()
           
 void registerParameters(ParameterRegistry registry)
          Register any parameters contained within this query component with the given registry.
 String render(CriteriaQueryCompiler.RenderingContext renderingContext)
           
 String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
           
 
Methods inherited from class org.hibernate.ejb.criteria.expression.SelectionImpl
alias
 
Methods inherited from class org.hibernate.ejb.criteria.expression.AbstractTupleElement
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
 
Methods inherited from class org.hibernate.ejb.criteria.AbstractNode
criteriaBuilder
 
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
 
Methods inherited from interface org.hibernate.ejb.criteria.TupleElementImplementor
getValueHandler
 

Constructor Detail

CompoundSelectionImpl

public CompoundSelectionImpl(CriteriaBuilderImpl criteriaBuilder,
                             Class<X> javaType,
                             List<javax.persistence.criteria.Selection<?>> selectionItems)
Method Detail

isCompoundSelection

public boolean isCompoundSelection()
Specified by:
isCompoundSelection in interface javax.persistence.criteria.Selection<X>
Overrides:
isCompoundSelection in class SelectionImpl<X>

getCompoundSelectionItems

public List<javax.persistence.criteria.Selection<?>> getCompoundSelectionItems()
Specified by:
getCompoundSelectionItems in interface javax.persistence.criteria.Selection<X>
Overrides:
getCompoundSelectionItems in class SelectionImpl<X>

getValueHandlers

public List<ValueHandlerFactory.ValueHandler> getValueHandlers()
Specified by:
getValueHandlers in interface SelectionImplementor<X>
Overrides:
getValueHandlers in class SelectionImpl<X>

registerParameters

public void registerParameters(ParameterRegistry registry)
Description copied from interface: ParameterContainer
Register any parameters contained within this query component with the given registry.

Specified by:
registerParameters in interface ParameterContainer
Parameters:
registry - The parameter registry with which to register.

render

public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
Specified by:
render in interface Renderable

renderProjection

public String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
Specified by:
renderProjection in interface Renderable


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.