public interface EntityInformation<T,ID extends Serializable> extends EntityMetadata<T>
EntityMetadata to add functionality to query information of entity instances.| Modifier and Type | Method and Description |
|---|---|
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.
|
getJavaTypeCopyright © 2012. All Rights Reserved.