Class RootImpl<X>

  • All Implemented Interfaces:
    jakarta.persistence.criteria.Expression<X>, jakarta.persistence.criteria.FetchParent<X,​X>, jakarta.persistence.criteria.From<X,​X>, jakarta.persistence.criteria.Path<X>, jakarta.persistence.criteria.Root<X>, jakarta.persistence.criteria.Selection<X>, jakarta.persistence.TupleElement<X>, Serializable
    Direct Known Subclasses:
    TreatRootImpl

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

      • RootImpl

        public RootImpl​(CriteriaBuilderImpl cb,
                        jakarta.persistence.metamodel.EntityType<X> type)
    • Method Detail

      • getModel

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

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