1 package org.hibernate.tuple; 3 4 import org.hibernate.engine.CascadeStyle; 5 import org.hibernate.engine.VersionValue; 6 import org.hibernate.type.Type; 7 8 13 public class VersionProperty extends StandardProperty { 14 15 private VersionValue unsavedValue; 16 17 36 public VersionProperty( 37 String name, 38 String node, 39 Type type, 40 boolean lazy, 41 boolean insertable, 42 boolean updateable, 43 boolean nullable, 44 boolean checkable, 45 boolean versionable, 46 CascadeStyle cascadeStyle, 47 VersionValue unsavedValue) { 48 super(name, node, type, lazy, insertable, updateable, nullable, checkable, versionable, cascadeStyle); 49 this.unsavedValue = unsavedValue; 50 } 51 52 public VersionValue getUnsavedValue() { 53 return unsavedValue; 54 } 55 } 56 | Popular Tags |