package alma.acs.tmcdb;

/**
 * This class has been automatically generated from the 'XXXX' TMCDB table model,
 * and represents the 'ObsModeEnum' Enumeration defined in the Enumerations part of the header.
 *
 * <p>This is automatic generated code, so don't try to change it by yourself!
 */
public enum ObsModeEnum {
	TOWER("TOWER"),
	ASTRO("ASTRO");
	private String _stringValue;

	ObsModeEnum(String value) {
		_stringValue = value;
	}

	public String toString() {
		return _stringValue;
	}

	public static ObsModeEnum valueOfForEnum(String value) {
		if( value.equals("TOWER") )
			return TOWER;
		if( value.equals("ASTRO") )
			return ASTRO;
		else
			throw new RuntimeException("Invalid value for ObsModeEnum enumeration: " + value);
	}
}
