|
Spring Data JPA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JpaEntityInformation<T,ID extends Serializable>
Extension of EntityInformation to capture aditional JPA specific information about entities.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.springframework.data.repository.core.EntityInformation |
|---|
getId, getIdType, isNew |
| Methods inherited from interface org.springframework.data.repository.core.EntityMetadata |
|---|
getJavaType |
| Method Detail |
|---|
javax.persistence.metamodel.SingularAttribute<? super T,?> getIdAttribute()
boolean hasCompositeId()
Iterable<String> getIdAttributeNames()
Object getCompositeIdAttributeValue(Serializable id,
String idAttribute)
id - idAttribute -
String getEntityName()
|
Spring Data JPA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||