org.springframework.datastore.keyvalue.mapping
Class KeyValuePersistentEntity<KeyValueMapping>

java.lang.Object
  extended by org.springframework.datastore.mapping.AbstractPersistentEntity
      extended by org.springframework.datastore.keyvalue.mapping.KeyValuePersistentEntity<KeyValueMapping>
All Implemented Interfaces:
Initializable, PersistentEntity

public class KeyValuePersistentEntity<KeyValueMapping>
extends AbstractPersistentEntity

Since:
1.0

Nested Class Summary
 class KeyValuePersistentEntity.KeyValueClassMapping
           
 
Field Summary
 
Fields inherited from class org.springframework.datastore.mapping.AbstractPersistentEntity
associations, context, identity, javaClass, owners, persistentProperties, persistentPropertyNames, propertiesByName
 
Constructor Summary
KeyValuePersistentEntity(Class javaClass, MappingContext context)
           
 
Method Summary
 ClassMapping<KeyValueMapping> getMapping()
          Defines the mapping between this persistent entity and an external form
 
Methods inherited from class org.springframework.datastore.mapping.AbstractPersistentEntity
equals, getAssociations, getDecapitalizedName, getDiscriminator, getIdentity, getJavaClass, getMappingContext, getName, getParentEntity, getPersistentProperties, getPersistentPropertyNames, getPropertyByName, getRootEntity, hashCode, hasProperty, initialize, isInstance, isOwningEntity, isRoot, newInstance, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyValuePersistentEntity

public KeyValuePersistentEntity(Class javaClass,
                                MappingContext context)
Method Detail

getMapping

public ClassMapping<KeyValueMapping> getMapping()
Description copied from interface: PersistentEntity
Defines the mapping between this persistent entity and an external form

Specified by:
getMapping in interface PersistentEntity
Overrides:
getMapping in class AbstractPersistentEntity
Returns:
The ClassMapping instance