org.salespointframework.core.data.database
Annotation Type RecoveryProperty


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface RecoveryProperty

this annotation sets recovery properties for a class. initialize() : if true, PersistenceManager will set field values (except values passed to constructor) automatically on recovery. revertLastKey() : reverts the unique key to the next one, found up the class hierarchy.

Since:
4.0
Author:
Thomas Kissinger

Optional Element Summary
 java.lang.Class implementationKey
           
 boolean initialize
           
 boolean revertLastKey
           
 

initialize

public abstract boolean initialize
Returns:
See Also:
RecoveryProperty
Default:
true

implementationKey

public abstract java.lang.Class implementationKey
Returns:
See Also:
RecoveryProperty
Default:
java.lang.Integer.class

revertLastKey

public abstract boolean revertLastKey
Returns:
See Also:
RecoveryProperty
Default:
false