Class RootImpl<X>

  • All Implemented Interfaces:
    Serializable, 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>
    Direct Known Subclasses:
    TreatRootImpl

    public class RootImpl<X>
    extends FromImpl<X,​X>
    implements javax.persistence.criteria.Root<X>
    Implementation of JPA2 Criteria "Root".
    See Also:
    Serialized Form
    • Constructor Detail

      • RootImpl

        public RootImpl​(CriteriaBuilderImpl cb,
                        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>