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

All Known Implementing Classes:
AbstractPersistentProperty, Association, Embedded, Identity, ManyToMany, ManyToOne, OneToMany, OneToOne, Simple, ToOne

public interface PersistentProperty<T>

Since:
1.0

Method Summary
 String getCapitilizedName()
          The name with the first letter in upper case as per Java bean conventions
 PropertyMapping<T> getMapping()
          Specifies the mapping between this property and an external form such as a column, key/value pair etc.
 String getName()
          The name of the property
 PersistentEntity getOwner()
          Obtains the owner of this persistent property
 Class getType()
          The type of the property
 

Method Detail

getName

String getName()
The name of the property

Returns:
The property name

getCapitilizedName

String getCapitilizedName()
The name with the first letter in upper case as per Java bean conventions

Returns:
The capitilized name

getType

Class getType()
The type of the property

Returns:
The property type

getMapping

PropertyMapping<T> getMapping()
Specifies the mapping between this property and an external form such as a column, key/value pair etc.

Returns:
The PropertyMapping instance

getOwner

PersistentEntity getOwner()
Obtains the owner of this persistent property

Returns:
The owner