org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor
Class OptimisticLockAccessor
java.lang.Object
org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.accessor.OptimisticLockAccessor
- All Implemented Interfaces:
- org.hibernate.property.PropertyAccessor
- Direct Known Subclasses:
- TimestampAccessor, UserAccessor, VersionAccessor
public abstract class OptimisticLockAccessor
- extends java.lang.Object
- implements org.hibernate.property.PropertyAccessor
Accesses NakedObjects version fields for use in optimistic locking. This accessor may wrap another
PropertyAccessor if version properties are also declared on the object (these properties must be updated in
the NOF adapter, but may also be in the object).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimisticLockAccessor
public OptimisticLockAccessor()
getLongVersionAccessor
protected abstract OptimisticLockAccessor.LongVersionAccessor getLongVersionAccessor()
getSetter
public org.hibernate.property.Setter getSetter(java.lang.Class theClass,
java.lang.String propertyName)
throws org.hibernate.PropertyNotFoundException
- Specified by:
getSetter in interface org.hibernate.property.PropertyAccessor
- Throws:
org.hibernate.PropertyNotFoundException
getGetter
public org.hibernate.property.Getter getGetter(java.lang.Class theClass,
java.lang.String propertyName)
throws org.hibernate.PropertyNotFoundException
- Specified by:
getGetter in interface org.hibernate.property.PropertyAccessor
- Throws:
org.hibernate.PropertyNotFoundException
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.