org.springframework.data.gemfire.repository.query
Class DefaultGemfireEntityInformation<T,ID extends Serializable>
java.lang.Object
org.springframework.data.repository.core.support.DelegatingEntityInformation<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 Serializable>
- extends org.springframework.data.repository.core.support.DelegatingEntityInformation<T,ID>
- implements GemfireEntityInformation<T,ID>
Implementation of GemfireEntityInformation
using reflection to lookup region names.
Methods inherited from class org.springframework.data.repository.core.support.DelegatingEntityInformation |
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, isNew |
Methods inherited from interface org.springframework.data.repository.core.EntityMetadata |
getJavaType |
DefaultGemfireEntityInformation
public DefaultGemfireEntityInformation(GemfirePersistentEntity<T> entity)
- Creates a new
DefaultGemfireEntityInformation
.
- Parameters:
domainClass
- must not be null.
getRegionName
public String getRegionName()
- Description copied from interface:
GemfireEntityInformation
- Returns the name of the
Region
the entity is held in.
- Specified by:
getRegionName
in interface GemfireEntityInformation<T,ID extends Serializable>
- Returns: