org.springframework.datastore.mapping
Interface PropertyMapping<T>

All Known Subinterfaces:
IdentityMapping

public interface PropertyMapping<T>

A marker interface for a property mapping which specifies what or where a particular property is mapped to

Since:
1.0

Method Summary
 ClassMapping getClassMapping()
          Retrieves the ClassMapping instance of the owning class
 T getMappedForm()
          Returns the mapped form of the property such as a Column, a Key/Value pair, attribute etc.
 

Method Detail

getClassMapping

ClassMapping getClassMapping()
Retrieves the ClassMapping instance of the owning class

Returns:
The ClassMapping instance

getMappedForm

T getMappedForm()
Returns the mapped form of the property such as a Column, a Key/Value pair, attribute etc.

Returns:
The mapped representation