类 PluralAttributePath<X>

    • 构造器详细资料

      • PluralAttributePath

        public PluralAttributePath​(CriteriaBuilderImpl criteriaBuilder,
                                   PathSource source,
                                   javax.persistence.metamodel.PluralAttribute<?,​X,​?> attribute)
    • 方法详细资料

      • getAttribute

        public javax.persistence.metamodel.PluralAttribute<?,​X,​?> getAttribute()
        从接口复制的说明: PathImplementor
        Retrieve reference to the attribute this path represents.
        指定者:
        getAttribute 在接口中 PathImplementor<X>
        返回:
        The metamodel attribute.
      • locateAttributeInternal

        protected javax.persistence.metamodel.Attribute locateAttributeInternal​(String attributeName)
        从类复制的说明: AbstractPathImpl
        Get the attribute by name from the underlying model. This allows subclasses to define exactly how the attribute is derived. Called from AbstractPathImpl.locateAttribute(java.lang.String) which also applies nullness checking for proper error reporting.
        指定者:
        locateAttributeInternal 在类中 AbstractPathImpl<X>
        参数:
        attributeName - The name of the attribute to locate
        返回:
        The attribute; may be null.
      • getModel

        public javax.persistence.metamodel.Bindable<X> getModel()
        指定者:
        getModel 在接口中 javax.persistence.criteria.Path<X>
      • treatAs

        public <T extends XPluralAttributePath<T> treatAs​(Class<T> treatAsType)
        从接口复制的说明: PathImplementor
        Defines handling for the JPA 2.1 TREAT down-casting feature.
        指定者:
        treatAs 在接口中 PathImplementor<X>
        类型参数:
        T - The parameterized type representation of treatAsType.
        参数:
        treatAsType - The type to treat the path as.
        返回:
        The properly typed view of this path.