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:
-
GemfirePersistentEntity
GemfireEntityInformation
PersistentEntityInformation
-
Constructor Summary
ConstructorDescriptionConstructs a new instance ofDefaultGemfireEntityInformation
for the givenGemfirePersistentEntity
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of theRegion
the entity is held in.Methods inherited from class org.springframework.data.repository.core.support.PersistentEntityInformation
getId, getIdType, 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
getId, getIdType, getRequiredId, isNew
Methods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
-
Constructor Details
-
DefaultGemfireEntityInformation
Constructs a new instance ofDefaultGemfireEntityInformation
for the givenGemfirePersistentEntity
.- Parameters:
entity
-GemfirePersistentEntity
to wrap; must not be null.- See Also:
-
-
Method Details
-
getRegionName
Description copied from interface:GemfireEntityInformation
Returns the name of theRegion
the entity is held in.- Specified by:
getRegionName
in interfaceGemfireEntityInformation<T,
ID> - Returns:
- the name of the
Region
the entity is held in.
-