From: <one...@us...> - 2003-01-28 10:22:24
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping In directory sc8-pr-cvs1:/tmp/cvs-serv26035/sf/hibernate/mapping Modified Files: Property.java Log Message: renamed 'mutable' to 'update' added 'insert' attribute removed old dtds Index: Property.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/mapping/Property.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Property.java 27 Jan 2003 12:51:50 -0000 1.7 --- Property.java 28 Jan 2003 10:22:20 -0000 1.8 *************** *** 18,22 **** private Value value; private String cascade; ! private boolean mutable; public Type getType() { --- 18,27 ---- private Value value; private String cascade; ! private boolean updateable; ! private boolean insertable; ! ! public Property(Value value) { ! this.value=value; ! } public Type getType() { *************** *** 32,37 **** return name; } ! public boolean isMutable() { ! return mutable; } --- 37,42 ---- return name; } ! public boolean isUpdateable() { ! return updateable; } *************** *** 101,106 **** * @param mutable The mutable to set */ ! public void setMutable(boolean mutable) { ! this.mutable = mutable; } --- 106,111 ---- * @param mutable The mutable to set */ ! public void setUpdateable(boolean mutable) { ! this.updateable = mutable; } *************** *** 119,122 **** --- 124,143 ---- public void setValue(Value value) { this.value = value; + } + + /** + * Returns the insertable. + * @return boolean + */ + public boolean isInsertable() { + return insertable; + } + + /** + * Sets the insertable. + * @param insertable The insertable to set + */ + public void setInsertable(boolean insertable) { + this.insertable = insertable; } |