org.springframework.datastore.mapping.types
Class Identity<T>

java.lang.Object
  extended by org.springframework.datastore.mapping.AbstractPersistentProperty
      extended by org.springframework.datastore.mapping.types.Identity<T>
All Implemented Interfaces:
PersistentProperty

public abstract class Identity<T>
extends AbstractPersistentProperty

Represents the identity of a persistent entity

Since:
1.0

Field Summary
 
Fields inherited from class org.springframework.datastore.mapping.AbstractPersistentProperty
context, name, owner, type
 
Constructor Summary
Identity(PersistentEntity owner, MappingContext context, PropertyDescriptor descriptor)
           
Identity(PersistentEntity owner, MappingContext context, String name, Class type)
           
 
Method Summary
 
Methods inherited from class org.springframework.datastore.mapping.AbstractPersistentProperty
getCapitilizedName, getName, getOwner, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.datastore.mapping.PersistentProperty
getMapping
 

Constructor Detail

Identity

public Identity(PersistentEntity owner,
                MappingContext context,
                PropertyDescriptor descriptor)

Identity

public Identity(PersistentEntity owner,
                MappingContext context,
                String name,
                Class type)