net.sf.jpacriteria
Class CriteriaImpl

java.lang.Object
  extended by net.sf.jpacriteria.BasicCriteriaImpl<Criteria>
      extended by net.sf.jpacriteria.CriteriaImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Aliased, BasicCriteria<Criteria>, Criteria, CriteriaObject<Criteria>

public class CriteriaImpl
extends BasicCriteriaImpl<Criteria>
implements Criteria

Version:
$Id: CriteriaImpl.java,v 1.19 2007/04/05 22:09:20 maxim_butov Exp $
Author:
Maxim Butov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jpacriteria.BasicCriteriaImpl
aggregation, alias, from, groups, having, joins, order, selection, where
 
Constructor Summary
CriteriaImpl(java.lang.String entity)
           
CriteriaImpl(java.lang.String entity, java.lang.String alias)
           
 
Method Summary
 Criteria argument(Argument argument, Argument... arguments)
           
 Criteria compile()
           
 Criteria firstResult(int firstResult)
           
 Argument getArgument()
           
 Criteria maxResults(int resultCount)
           
 javax.persistence.Query toQuery(javax.persistence.EntityManager entityManager, Argument argument)
           
 java.lang.String toQueryString()
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jpacriteria.BasicCriteriaImpl
aggregate, clone, copy, getAggregation, getAlias, getFrom, getGroups, getHaving, getJoins, getOrder, getProperty, getSelection, getWhere, group, having, join, order, select, self, where
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.jpacriteria.BasicCriteria
aggregate, getAggregation, getFrom, getGroups, getHaving, getJoins, getOrder, getProperty, getSelection, getWhere, group, having, join, order, select, where
 
Methods inherited from interface net.sf.jpacriteria.alias.Aliased
getAlias
 
Methods inherited from interface net.sf.jpacriteria.CriteriaObject
copy
 

Constructor Detail

CriteriaImpl

public CriteriaImpl(java.lang.String entity)

CriteriaImpl

public CriteriaImpl(java.lang.String entity,
                    java.lang.String alias)
Method Detail

firstResult

public Criteria firstResult(int firstResult)
Specified by:
firstResult in interface Criteria

maxResults

public Criteria maxResults(int resultCount)
Specified by:
maxResults in interface Criteria

argument

public Criteria argument(Argument argument,
                         Argument... arguments)
Specified by:
argument in interface Criteria

getArgument

public Argument getArgument()
Specified by:
getArgument in interface Criteria

compile

public Criteria compile()
Specified by:
compile in interface Criteria

toQueryString

public java.lang.String toQueryString()
Specified by:
toQueryString in interface Criteria

toQuery

public javax.persistence.Query toQuery(javax.persistence.EntityManager entityManager,
                                       Argument argument)
Specified by:
toQuery in interface Criteria

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007. All Rights Reserved.