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 DataChangeSource extends AbstractNamedLookup {

	/**
	 * An instance of serialVersionUID
	 */
	private static final long serialVersionUID = -5537235268843677694L;

	/* VistA Code */
	public static final Code CODE_VISTA = new Code("V");

	/* ESR Code */
	public static final Code CODE_ESR = new Code("E");

	public static class Code extends AbstractCode {

		/**
		 * An instance of serialVersionUID
		 */
		private static final long serialVersionUID = -8033108702175289030L;

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

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

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