接口 PathImplementor<X>

    • 方法详细资料

      • getAttribute

        javax.persistence.metamodel.Attribute<?,​?> getAttribute()
        Retrieve reference to the attribute this path represents.
        返回:
        The metamodel attribute.
      • treatAs

        <T extends XPathImplementor<T> treatAs​(Class<T> treatAsType)
        Defines handling for the JPA 2.1 TREAT down-casting feature.
        类型参数:
        T - The parameterized type representation of treatAsType.
        参数:
        treatAsType - The type to treat the path as.
        返回:
        The properly typed view of this path.