/*
 * Created on Apr 6, 2006
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package gov.va.med.esr.common.model.lookup;

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

/**
 * @author DNS   TSAIG
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ComMailingTriggerType extends AbstractNamedActiveLookup {
    
    private static final long serialVersionUID = 1942620124383752187L;
    public static final Code  COM_MAILING_TRIGGER_MANUAL = new Code("1");
    public static final Code  COM_MAILING_TRIGGER_REMAIL = new Code("2");
    public static final Code  COM_MAILING_TRIGGER_HISTORICAL = new Code("3");
    public static final Code  COM_MAILING_TRIGGER_AUTOMATIC = new Code("4");

    
    
    public static class Code extends AbstractCode
    {
        /**
         * An instance of serialVersionUID
         */        
        private static final long serialVersionUID = -2837009217116045404L;

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

        public static Code getByCode(String code)
        {
            return (Code)getCode(Code.class, code);
        }
    }
    
    /**
	 * An instance of serialVersionUID
	 */
//	private static final long serialVersionUID = -7292076344680536715L;

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