public void init(Object recordOwner)
    {
        m_recordOwner = recordOwner;
        if (m_dbOpenMode == Constants.OPEN_NORMAL)  // In case it was changed in contructor() and init was called after
            m_dbOpenMode = Constants.OPEN_NORMAL;
        if (this.getTask() != null)
            m_dbOpenMode = m_dbOpenMode | this.getTask().getDefaultLockType(this.getDatabaseType());
        m_vFieldInfo = new Vector<Field>();
        m_vKeyAreaList = new Vector<Key>();

        this.setupFields();         // Add this FieldList's fields
        this.setupKeys();       // Set up the key areas
        m_dbEditMode = Constants.EDIT_NONE;
        m_bIsAutoSequence = true;
    }
public void init ( Object recordOwner ) { m_recordOwner = recordOwner ; if ( m_dbOpenMode == Constants . OPEN_NORMAL ) m_dbOpenMode = Constants . OPEN_NORMAL ; if ( this . getTask ( ) != null ) m_dbOpenMode = m_dbOpenMode | this . getTask ( ) . getDefaultLockType ( this . getDatabaseType ( ) ) ; m_vFieldInfo = new Vector < Field > ( ) ; m_vKeyAreaList = new Vector < Key > ( ) ; this . setupFields ( ) ; this . setupKeys ( ) ; m_dbEditMode = Constants . EDIT_NONE ; m_bIsAutoSequence = true ; }
init.