org.springframework.datastore.keyvalue.mapping.config
Class GormKeyValueMappingFactory

java.lang.Object
  extended by org.springframework.datastore.mapping.MappingFactory<Family,KeyValue>
      extended by org.springframework.datastore.keyvalue.mapping.KeyValueMappingFactory
          extended by org.springframework.datastore.keyvalue.mapping.config.GormKeyValueMappingFactory

public class GormKeyValueMappingFactory
extends KeyValueMappingFactory

Since:
1.0

Field Summary
 
Fields inherited from class org.springframework.datastore.keyvalue.mapping.KeyValueMappingFactory
keyspace
 
Fields inherited from class org.springframework.datastore.mapping.MappingFactory
SIMPLE_TYPES
 
Constructor Summary
GormKeyValueMappingFactory(String keyspace)
           
 
Method Summary
 Family createMappedForm(PersistentEntity entity)
          Creates the mapped form of a persistent entity
 KeyValue createMappedForm(PersistentProperty mpp)
          Creates the mapped form of a PersistentProperty instance
 
Methods inherited from class org.springframework.datastore.mapping.MappingFactory
createIdentity, createManyToMany, createManyToOne, createOneToMany, createOneToOne, createPropertyMapping, createSimple, isSimpleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GormKeyValueMappingFactory

public GormKeyValueMappingFactory(String keyspace)
Method Detail

createMappedForm

public Family createMappedForm(PersistentEntity entity)
Description copied from class: MappingFactory
Creates the mapped form of a persistent entity

Overrides:
createMappedForm in class KeyValueMappingFactory
Parameters:
entity - The entity
Returns:
The mapped form

createMappedForm

public KeyValue createMappedForm(PersistentProperty mpp)
Description copied from class: MappingFactory
Creates the mapped form of a PersistentProperty instance

Overrides:
createMappedForm in class KeyValueMappingFactory
Parameters:
mpp - The PersistentProperty instance
Returns:
The mapped form