Class DatastorePersistentEntityInformation<T,I>
java.lang.Object
org.springframework.data.repository.core.support.AbstractEntityInformation<T,I>
com.google.cloud.spring.data.datastore.core.mapping.DatastorePersistentEntityInformation<T,I>
- Type Parameters:
T
- the type of the persistent entityI
- the ID type of the persistent entity
- All Implemented Interfaces:
org.springframework.data.repository.core.EntityInformation<T,
,I> org.springframework.data.repository.core.EntityMetadata<T>
public class DatastorePersistentEntityInformation<T,I>
extends org.springframework.data.repository.core.support.AbstractEntityInformation<T,I>
Holds ID type information about a Datastore persistent entity.
- Since:
- 1.1
-
Constructor Summary
ConstructorDescriptionCreates a newDatastorePersistentEntityInformation
for the givenDatastorePersistentEntity
. -
Method Summary
Methods inherited from class org.springframework.data.repository.core.support.AbstractEntityInformation
getJavaType, isNew
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.core.EntityInformation
getRequiredId
-
Constructor Details
-
DatastorePersistentEntityInformation
Creates a newDatastorePersistentEntityInformation
for the givenDatastorePersistentEntity
.- Parameters:
entity
- must not be null.
-
-
Method Details
-
getId
-
getIdType
-