public interface JpaEntityInformation<T,ID extends Serializable> extends org.springframework.data.repository.core.EntityInformation<T,ID>, JpaEntityMetadata<T>
EntityInformation to capture additional JPA specific information about entities.| Modifier and Type | Method and Description |
|---|---|
Object |
getCompositeIdAttributeValue(Serializable id,
String idAttribute)
Extracts the value for the given id attribute from a composite id
|
javax.persistence.metamodel.SingularAttribute<? super T,?> |
getIdAttribute()
Returns the id attribute of the entity.
|
Iterable<String> |
getIdAttributeNames()
Returns the attribute names of the id attributes.
|
boolean |
hasCompositeId()
Returns true if the entity has a composite id.
|
getId, getIdType, isNewgetEntityNamejavax.persistence.metamodel.SingularAttribute<? super T,?> getIdAttribute()
boolean hasCompositeId()
Iterable<String> getIdAttributeNames()
Object getCompositeIdAttributeValue(Serializable id, String idAttribute)
id - idAttribute - Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.