/*
 * Created on Aug 11, 2004
 *
 * 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.comms;

/**
 * @author DNS   TSAIG
 *
 * @hibernate.class
 *         table="COMMS_MAIL_STAT"
 * 
 * Mailing status of a log entry
 * 
 * 
 */

import gov.va.med.esr.common.model.lookup.ComMailingStatusType;

public class MailingStatusLink extends gov.va.med.fw.model.AbstractKeyedEntity {

	private static final long serialVersionUID = -9145746705330703051L;


    //!!! This one needs to be added to database
	//	current legacy system has only one action comment per logEntry
	//	the correct implementation should be one action comment per mailingStatus
	//	(a logEntry can have multiple mailingStatus
	private String actionComment = null;


//	private BigDecimal commsLogId = null;
    
	private CommsLogEntry commsLog = null;
	private ComMailingStatusType mailingStatus = null;

    public MailingStatusLink()
	{
	}
	

	/**
	 * @return Returns the actionComment.
	 */
	public String getActionComment() {
		return actionComment;
	}
	/**
	 * @param actionComment The actionComment to set.
	 */
	public void setActionComment(String actionComment) {
		this.actionComment = actionComment;
	}
	/**
	 * @return Returns the commsLogId.
	 */
/*	public BigDecimal getCommsLogId() {
		return commsLogId;
	}*/
	/**
	 * @param commsLogId The commsLogId to set.
	 */
/*	public void setCommsLogId(BigDecimal commsLogId) {
		this.commsLogId = commsLogId;
	}*/
	
	
    /**
     * @return Returns the statusTypeId.
     */
/*    public BigDecimal getStatusTypeId() {
        return statusTypeId;
    }*/
    /**
     * @param statusTypeId The statusTypeId to set.
     */
/*    public void setStatusTypeId(BigDecimal statusTypeId) {
        this.statusTypeId = statusTypeId;
    }*/
    
    
	/**
	 * @return Returns the commsLog.
	 */
	public CommsLogEntry getCommsLog() {
	    return commsLog;
	}
	/**
	 * @param commsLog The commsLog to set.
	 */
	public void setCommsLog(CommsLogEntry commsLog) {
	    this.commsLog = commsLog;
	}
    /**
     * @return Returns the mailingStatus.
     */
    public ComMailingStatusType getMailingStatus() {
        return mailingStatus;
    }
    /**
     * @param mailingStatus The mailingStatus to set.
     */
    public void setMailingStatus(ComMailingStatusType mailingStatus) {
        this.mailingStatus = mailingStatus;
    }
}
