public void doAddNew() throws DBException
    {
        if (this.lockOnDBTrxType(null, DBConstants.ADD_TYPE, false))  // ADD_TYPE = Add new; Should I do the unlock in my code?
            this.unlockIfLocked(this.getRecord(), null);    // Release any locks
    }
public void doAddNew ( ) throws DBException { if ( this . lockOnDBTrxType ( null , DBConstants . ADD_TYPE , false ) ) this . unlockIfLocked ( this . getRecord ( ) , null ) ; }
Create/Clear the current object (Always called from the record class).
Don't need to do anything special for SQL tables.
@exception DBException File exception.