|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityInformation<T,ID extends Serializable>
Extension of EntityMetadata to add functionality to query information
of entity instances.
| Method Summary | |
|---|---|
ID |
getId(T entity)
Returns the id of the given entity. |
Class<ID> |
getIdType()
Returns the type of the id of the entity. |
boolean |
isNew(T entity)
Returns whether the given entity is considered to be new. |
| Methods inherited from interface org.springframework.data.repository.core.EntityMetadata |
|---|
getJavaType |
| Method Detail |
|---|
boolean isNew(T entity)
entity - must never be null
ID getId(T entity)
entity - must never be null
Class<ID> getIdType()
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||