X - managed entity java type.E - attribute's java type.T - Collection type of plural attributes.public abstract class AbstractPluralAttribute<X,E,T> extends AbstractAttribute<X,E>
PluralAttribute interface.| Modifier and Type | Field and Description |
|---|---|
private Class<T> |
collectionClazz |
attribType, member| Constructor and Description |
|---|
AbstractPluralAttribute(javax.persistence.metamodel.Type<E> attribType,
String attribName,
javax.persistence.metamodel.Attribute.PersistentAttributeType persistenceAttribType,
javax.persistence.metamodel.ManagedType<X> managedType,
Field member,
Class<T> clazz)
Constructor with fields.
|
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.metamodel.Bindable.BindableType |
getBindableType() |
protected Class<T> |
getBoundJavaType()
Returns get java type.
|
abstract javax.persistence.metamodel.PluralAttribute.CollectionType |
getCollectionType()
Return the collection type.
|
boolean |
isCollection() |
getBindableJavaType, getDeclaringType, getFieldAnnotation, getJavaMember, getJPAColumnName, getName, getPersistentAttributeType, getTableName, isAssociation, setColumnNameAbstractPluralAttribute(javax.persistence.metamodel.Type<E> attribType, String attribName, javax.persistence.metamodel.Attribute.PersistentAttributeType persistenceAttribType, javax.persistence.metamodel.ManagedType<X> managedType, Field member, Class<T> clazz)
attribType - attribute typeattribName - attribute field's namepersistenceAttribType - persistent attribute typemanagedType - type of managed entity.member - java member.public javax.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType in class AbstractAttribute<X,E>public boolean isCollection()
isCollection in class AbstractAttribute<X,E>public abstract javax.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
Copyright © 2015. All Rights Reserved.