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.
|
getJavaType
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.