Code example for VersionType

Methods: seed

0
	 * Apply optimisitc locking based on the a current vs. snapshot comparison 
	 * of <b>all</b> properties. 
	 */ 
	public static final int OPTIMISTIC_LOCK_ALL = 2; 
 
	/** 
	 * Apply optimisitc locking based on the a current vs. snapshot comparison 
	 * of <b>dirty</b> properties. 
	 */ 
	public static final int OPTIMISTIC_LOCK_DIRTY = 1; 
 
    private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, Versioning.class.getName()); 
 
	/** 
	 * Private constructor disallowing instantiation. 
	 */ 
	private Versioning() {} 
 
	/** 
	 * Create an initial optimisitc locking value according the {@link VersionType}