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;
        }
    }
public void setModificationState ( ModificationState newModificationState ) { if ( newModificationState != modificationState ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "object state transition for object " + this . oid + " (" + modificationState + " --> " + newModificationState + ")" ) ; } modificationState = newModificationState ; } }
set the Modification state to a new value. Used during state transitions.
@param newModificationState org.apache.ojb.server.states.ModificationState