package org.yeastrc.xlink.enum_classes;


/**
 * Enum for is this Search record 
 * DB field search.status_id
 * 
 * Keep these values in sync with the values in the table 
 * 'search_record_status_lookup'
 * 
 */
public enum SearchRecordStatus {

	IMPORTING( 1 ),
    IMPORT_COMPLETE_VIEW( 2 ),
    IMPORT_FAIL( 3 ),
    IMPORT_CANCELED_INCOMPLETE( 4 ),
    MARKED_FOR_DELETION( 5 );
	
    private final int value;

    
    
    /**
     * constructor:  Make private to hide 
     */
    private SearchRecordStatus( int v) {
        value = v;
    }

    public int value() {
        return value;
    }

    /**
     * Get the enum from the String value
     * 
     * @param value_
     * @return
     */
    public static SearchRecordStatus fromValue( int value_ ) {
        for (SearchRecordStatus c: SearchRecordStatus.values()) {
            if (c.value == value_ ) {
                return c;
            }
        }
        throw new IllegalArgumentException( "SearchRecordStatus not valid for value: " + value_ );
    }

}

Change search table: remove field insert_complete, add field status_id and other fields
Change search table: remove field insert_complete, add field status_id
and other fields