org.hibernate.ejb.criteria.expression
Class SelectionImpl<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>
All Implemented Interfaces:
Serializable, javax.persistence.criteria.Selection<X>, TupleElement<X>, ParameterContainer, SelectionImplementor<X>, TupleElementImplementor<X>
Direct Known Subclasses:
CompoundSelectionImpl, ExpressionImpl

public abstract class SelectionImpl<X>
extends AbstractTupleElement<X>
implements SelectionImplementor<X>, ParameterContainer, Serializable

The Hibernate implementation of the JPA Selection 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
SelectionImpl(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType)
           
 
Method Summary
 javax.persistence.criteria.Selection<X> alias(String alias)
           
 List<javax.persistence.criteria.Selection<?>> getCompoundSelectionItems()
           
 List<ValueHandlerFactory.ValueHandler> getValueHandlers()
           
 boolean isCompoundSelection()
           
 
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 org.hibernate.ejb.criteria.TupleElementImplementor
getValueHandler
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 
Methods inherited from interface org.hibernate.ejb.criteria.ParameterContainer
registerParameters
 

Constructor Detail

SelectionImpl

public SelectionImpl(CriteriaBuilderImpl criteriaBuilder,
                     Class<X> javaType)
Method Detail

alias

public javax.persistence.criteria.Selection<X> alias(String alias)
Specified by:
alias in interface javax.persistence.criteria.Selection<X>

isCompoundSelection

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

getValueHandlers

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

getCompoundSelectionItems

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


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