package gov.va.med.esr.common.model.lookup;


import gov.va.med.fw.model.lookup.AbstractCode;
import gov.va.med.fw.model.lookup.AbstractNamedLookup;

public class CampLejeuneVerificationType  extends AbstractNamedLookup  {

	
	 private static final long serialVersionUID = 1972736246563720725L;
		    
	 public static final Code VERIFICATION_DOD = new Code("1");
	 public static final Code VERIFICATION_NPRC = new Code("2");
	 public static final Code VERIFICATION_DPRIS = new Code("3");
	 public static final Code VERIFICATION_OMPF = new Code("4");
	 public static final Code VERIFICATION_USMC = new Code("5");
	 public static final Code VERIFICATION_CDC = new Code("6");
	 public static final Code VERIFICATION_OTHER = new Code("7");
	
     //Inner class
	public static class Code extends AbstractCode {
	
		private static final long serialVersionUID = 1582123370552220740L;

		
        private Code(String code) {
			super(code);
		}

		public static Code getByCode(String code) {
			return (Code) getCode(Code.class, code);
		}
	}

	/**
	 * Default constructor.
	 */
	public CampLejeuneVerificationType() {
		super();
	}

	public int compareTo(Object o) {
		if (o != null && o instanceof CampLejeuneVerificationType)
			return getName().compareTo(((CampLejeuneVerificationType) o).getName());
		else
			return 1;

	}
}
