public void setModificationState ( ModificationState newModificationState ) { if ( newModificationState != modificationState ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "object state transition for object " + this . oid + " (" + modificationState + " --> " + newModificationState + ")" ) ; // try{throw new Exception();}catch(Exception e) // { // e.printStackTrace(); // } } modificationState = newModificationState ; } }
set the Modification state to a new value . Used during state transitions .