public BaseField getSharedRecordTypeKey()
    {
        if (this.getFieldCount() >= 2)  // Wild guess (typically the second field)
            if (this.getField(DBConstants.MAIN_FIELD + 1) instanceof IntegerField)
                return this.getField(DBConstants.MAIN_FIELD + 1);
        return null;
    }
public BaseField getSharedRecordTypeKey ( ) { if ( this . getFieldCount ( ) >= 2 ) if ( this . getField ( DBConstants . MAIN_FIELD + 1 ) instanceof IntegerField ) return this . getField ( DBConstants . MAIN_FIELD + 1 ) ; return null ; }
Get the record type from the field that specifies the record type.
(Override this).
@return The record type (as an object).