org.datanucleus.jpa.criteria
Class RootImpl<X>

java.lang.Object
  extended by org.datanucleus.jpa.criteria.ExpressionImpl<X>
      extended by org.datanucleus.jpa.criteria.PathImpl<Z,X>
          extended by org.datanucleus.jpa.criteria.FromImpl<X,X>
              extended by org.datanucleus.jpa.criteria.RootImpl<X>
All Implemented Interfaces:
javax.persistence.criteria.Expression<X>, javax.persistence.criteria.FetchParent<X,X>, javax.persistence.criteria.From<X,X>, javax.persistence.criteria.Path<X>, javax.persistence.criteria.Root<X>, javax.persistence.criteria.Selection<X>, javax.persistence.TupleElement<X>

public class RootImpl<X>
extends FromImpl<X,X>
implements javax.persistence.criteria.Root<X>

Implementation of JPA2 Criteria "Root".


Field Summary
 
Fields inherited from class org.datanucleus.jpa.criteria.FromImpl
fetchJoins, joins, type
 
Fields inherited from class org.datanucleus.jpa.criteria.PathImpl
attribute, parent
 
Constructor Summary
RootImpl(javax.persistence.metamodel.EntityType<X> type)
           
 
Method Summary
 javax.persistence.metamodel.EntityType<X> getModel()
           
 javax.persistence.metamodel.Type<?> getType()
           
 
Methods inherited from class org.datanucleus.jpa.criteria.FromImpl
fetch, fetch, fetch, fetch, fetch, fetch, getAttributeForAttributeName, getCorrelationParent, getFetches, getJoins, getQueryExpression, getQueryExpression, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, toString, toString
 
Methods inherited from class org.datanucleus.jpa.criteria.PathImpl
get, get, get, get, getParentPath, type
 
Methods inherited from class org.datanucleus.jpa.criteria.ExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
 
Methods inherited from interface javax.persistence.criteria.Path
get, get, get, get, getParentPath, type
 
Methods inherited from interface javax.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
 
Methods inherited from interface javax.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 
Methods inherited from interface javax.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
 

Constructor Detail

RootImpl

public RootImpl(javax.persistence.metamodel.EntityType<X> type)
Method Detail

getModel

public javax.persistence.metamodel.EntityType<X> getModel()
Specified by:
getModel in interface javax.persistence.criteria.Path<X>
Specified by:
getModel in interface javax.persistence.criteria.Root<X>
Overrides:
getModel in class PathImpl<X,X>

getType

public javax.persistence.metamodel.Type<?> getType()
Overrides:
getType in class PathImpl<X,X>


Copyright © 2011. All Rights Reserved.