List of usage examples for javax.persistence.metamodel PluralAttribute getBindableJavaType
Class<T> getBindableJavaType();
From source file:com.evanzeimet.queryinfo.jpa.field.QueryInfoJPAAttributePathBuilder.java
protected Class<?> getAttributeJoinedType(Attribute<?, ?> attribute) { Class<?> result;//from ww w. ja v a 2 s.c om if (attribute instanceof PluralAttribute<?, ?, ?>) { PluralAttribute<?, ?, ?> pluralAttribute = ((PluralAttribute<?, ?, ?>) attribute); result = pluralAttribute.getBindableJavaType(); } else { result = attribute.getJavaType(); } return result; }