X - managed typeE - attribute type in setpublic class DefaultSetAttribute<X,E> extends AbstractPluralAttribute<X,E,Set<E>> implements javax.persistence.metamodel.SetAttribute<X,E>
SetAttribute interface.
Offers metadata information implementation for collection attribute as per
jpa.javax.persistence.metamodel.PluralAttribute.CollectionTypeattribType, member| Constructor and Description |
|---|
DefaultSetAttribute(javax.persistence.metamodel.Type<E> attribType,
String attribName,
javax.persistence.metamodel.Attribute.PersistentAttributeType persistenceAttribType,
javax.persistence.metamodel.ManagedType<X> managedType,
Field member,
Class<Set<E>> clazz)
Constructor using fields.
|
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.metamodel.PluralAttribute.CollectionType |
getCollectionType()
Return the collection type.
|
javax.persistence.metamodel.Type<E> |
getElementType() |
Class<Set<E>> |
getJavaType() |
getBindableType, getBoundJavaType, isCollectiongetBindableJavaType, getDeclaringType, getFieldAnnotation, getJavaMember, getJPAColumnName, getName, getPersistentAttributeType, getTableName, isAssociation, setColumnNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic DefaultSetAttribute(javax.persistence.metamodel.Type<E> attribType, String attribName, javax.persistence.metamodel.Attribute.PersistentAttributeType persistenceAttribType, javax.persistence.metamodel.ManagedType<X> managedType, Field member, Class<Set<E>> clazz)
attribType - attribute typeattribName - attribute namepersistenceAttribType - persistent attribute type.managedType - managed typemember - attribute's java member.public javax.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
AbstractPluralAttributegetCollectionType in interface javax.persistence.metamodel.PluralAttribute<X,Set<E>,E>getCollectionType in class AbstractPluralAttribute<X,E,Set<E>>public javax.persistence.metamodel.Type<E> getElementType()
Copyright © 2015. All Rights Reserved.