public class JpaPersistableEntityInformation<T extends org.springframework.data.domain.Persistable<ID>,ID> extends JpaMetamodelEntityInformation<T,ID>
JpaMetamodelEntityInformation that consideres methods of Persistable to lookup the id.| Constructor and Description |
|---|
JpaPersistableEntityInformation(Class<T> domainClass,
javax.persistence.metamodel.Metamodel metamodel)
Creates a new
JpaPersistableEntityInformation for the given domain class and Metamodel. |
| Modifier and Type | Method and Description |
|---|---|
ID |
getId(T entity) |
boolean |
isNew(T entity) |
getCompositeIdAttributeValue, getEntityName, getIdAttribute, getIdAttributeNames, getIdType, hasCompositeIdgetEntityInformationgetJavaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredIdAttributepublic JpaPersistableEntityInformation(Class<T> domainClass, javax.persistence.metamodel.Metamodel metamodel)
JpaPersistableEntityInformation for the given domain class and Metamodel.domainClass - must not be null.metamodel - must not be null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.