org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor
Class TimestampAccessor

java.lang.Object
  extended by org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor.OptimisticLockAccessor
      extended by org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor.TimestampAccessor
All Implemented Interfaces:
org.hibernate.property.PropertyAccessor

public class TimestampAccessor
extends OptimisticLockAccessor

Accesses NakedObjects update timestamp, possibly for use in optimistic locking.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor.OptimisticLockAccessor
OptimisticLockAccessor.LongVersionAccessor, OptimisticLockAccessor.OptimisticLockGetter, OptimisticLockAccessor.OptimisticLockSetter
 
Field Summary
static OptimisticLockAccessor.LongVersionAccessor TIMESTAMP_ACCESSOR
           
 
Constructor Summary
TimestampAccessor()
           
 
Method Summary
protected  OptimisticLockAccessor.LongVersionAccessor getLongVersionAccessor()
           
 
Methods inherited from class org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor.OptimisticLockAccessor
getGetter, getSetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMESTAMP_ACCESSOR

public static OptimisticLockAccessor.LongVersionAccessor TIMESTAMP_ACCESSOR
Constructor Detail

TimestampAccessor

public TimestampAccessor()
Method Detail

getLongVersionAccessor

protected OptimisticLockAccessor.LongVersionAccessor getLongVersionAccessor()
Specified by:
getLongVersionAccessor in class OptimisticLockAccessor


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.