Spring Data for VMware GemFire
Class DefaultGemfireEntityInformation<T,ID>
java.lang.Object
org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
org.springframework.data.gemfire.repository.query.DefaultGemfireEntityInformation<T,ID>
- All Implemented Interfaces:
GemfireEntityInformation<T,,ID> org.springframework.data.repository.core.EntityInformation<T,,ID> org.springframework.data.repository.core.EntityMetadata<T>
public class DefaultGemfireEntityInformation<T,ID>
extends org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
implements GemfireEntityInformation<T,ID>
Implementation of
GemfireEntityInformation and Spring Data's PersistentEntityInformation
that returns the Region name associated with the PersistentEntity.- See Also:
-
GemfirePersistentEntityGemfireEntityInformationPersistentEntityInformation
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance ofDefaultGemfireEntityInformationfor the givenGemfirePersistentEntity. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of theRegionthe entity is held in.Methods inherited from class org.springframework.data.repository.core.support.PersistentEntityInformation
getId, getIdType, getJavaType, isNewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.repository.core.EntityInformation
getId, getIdType, getRequiredId, isNewMethods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
-
Constructor Details
-
DefaultGemfireEntityInformation
Constructs a new instance ofDefaultGemfireEntityInformationfor the givenGemfirePersistentEntity.- Parameters:
entity-GemfirePersistentEntityto wrap; must not be null.- See Also:
-
-
Method Details
-
getRegionName
Description copied from interface:GemfireEntityInformationReturns the name of theRegionthe entity is held in.- Specified by:
getRegionNamein interfaceGemfireEntityInformation<T,ID> - Returns:
- the name of the
Regionthe entity is held in.
-