public interface JpaEntityInformation<T,ID extends Serializable> extends EntityInformation<T,ID>
EntityInformation to capture aditional 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
|
String |
getEntityName()
Returns the JPA entity name.
|
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, isNewgetJavaTypejavax.persistence.metamodel.SingularAttribute<? super T,?> getIdAttribute()
boolean hasCompositeId()
Iterable<String> getIdAttributeNames()
Object getCompositeIdAttributeValue(Serializable id, String idAttribute)
id - idAttribute - String getEntityName()
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.