public abstract class JpaEntityInformationSupport<T,ID extends Serializable> extends AbstractEntityInformation<T,ID> implements JpaEntityInformation<T,ID>
JpaEntityInformation implementations to share common method implementations.| Constructor and Description |
|---|
JpaEntityInformationSupport(Class<T> domainClass)
Creates a new
JpaEntityInformationSupport with the given domain class. |
| Modifier and Type | Method and Description |
|---|---|
static <T> JpaEntityInformation<T,?> |
getEntityInformation(Class<T> domainClass,
javax.persistence.EntityManager em)
Creates a
JpaEntityInformation for the given domain class and EntityManager. |
String |
getEntityName()
Returns the name of the entity.
|
getJavaType, isNewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCompositeIdAttributeValue, getIdAttribute, getIdAttributeNames, hasCompositeIdgetId, getIdType, isNewgetJavaTypepublic JpaEntityInformationSupport(Class<T> domainClass)
JpaEntityInformationSupport with the given domain class.domainClass - must not be null.public static <T> JpaEntityInformation<T,?> getEntityInformation(Class<T> domainClass, javax.persistence.EntityManager em)
JpaEntityInformation for the given domain class and EntityManager.domainClass - must not be null.em - must not be null.public String getEntityName()
JpaEntityMetadatagetEntityName in interface JpaEntityMetadata<T>Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.