public class MappingCouchbaseEntityInformation<T,ID extends Serializable> extends AbstractEntityInformation<T,ID> implements CouchbaseEntityInformation<T,ID>
Constructor and Description |
---|
MappingCouchbaseEntityInformation(CouchbasePersistentEntity<T> entity)
Create a new Infomration container.
|
Modifier and Type | Method and Description |
---|---|
ID |
getId(T entity)
Returns the ID of the entity.
|
Class<ID> |
getIdType()
Returns the ID type.
|
getJavaType, isNew
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNew
getJavaType
public MappingCouchbaseEntityInformation(CouchbasePersistentEntity<T> entity)
entity
- the entity of the container.public ID getId(T entity)
getId
in interface EntityInformation<T,ID extends Serializable>
entity
- the entity from where to extract the ID from.public Class<ID> getIdType()
getIdType
in interface EntityInformation<T,ID extends Serializable>
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.