org.springframework.data.gemfire.mapping
Class GemfirePersistentEntity<T>

java.lang.Object
  extended by org.springframework.data.mapping.model.BasicPersistentEntity<T,GemfirePersistentProperty>
      extended by org.springframework.data.gemfire.mapping.GemfirePersistentEntity<T>
All Implemented Interfaces:
org.springframework.data.mapping.model.MutablePersistentEntity<T,GemfirePersistentProperty>, org.springframework.data.mapping.PersistentEntity<T,GemfirePersistentProperty>

public class GemfirePersistentEntity<T>
extends org.springframework.data.mapping.model.BasicPersistentEntity<T,GemfirePersistentProperty>

PersistentEntity implementation adding custom Gemfire related metadata, such as the region the entity is mapped to etc.


Constructor Summary
GemfirePersistentEntity(org.springframework.data.util.TypeInformation<T> information)
          Creates a new GemfirePersistentEntity for the given TypeInformation.
 
Method Summary
 String getRegionName()
          Returns the name of the region the entity shall be stored in.
 
Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity
addAssociation, addPersistentProperty, doWithAssociations, doWithProperties, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getType, getTypeAlias, getTypeInformation, isConstructorArgument, isIdProperty, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GemfirePersistentEntity

public GemfirePersistentEntity(org.springframework.data.util.TypeInformation<T> information)
Creates a new GemfirePersistentEntity for the given TypeInformation.

Parameters:
information - must not be null.
Method Detail

getRegionName

public String getRegionName()
Returns the name of the region the entity shall be stored in.

Returns:
the name of the region the entity shall be stored in.