/*
 * Created on Nov 29, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package gov.va.med.esr.ui.ee.beans;

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

import java.io.Serializable;


/**
 * @author DNS   ZHENGH
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class DisabilityBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3542087133392689729L;
	private String index; //used for MultiBox to support duplicated codes.
	private Disability disability;
	private String code;
	private String description;
	private Integer percentage;
    private String diagnosticExtremity;
    private String effectiveDate;
    private String ratingDate;

	public DisabilityBean(String index, Disability disability, String code, String description){
		this(index, disability, code, description, null, null, null, null);	
	}
	public DisabilityBean(String index, Disability disability, 
			String code, String description, Integer percentage,
			String diagnosticExtremity, String effectiveDate, String ratingDate){
		this.index = index;
		this.disability = disability;
		this.code = code;
		this.description = description;
		this.percentage = percentage;	
		this.diagnosticExtremity = diagnosticExtremity;
		this.effectiveDate = effectiveDate;
		this.ratingDate = ratingDate;
	}
	
	/**
	 * @return Returns the index.
	 */
	public String getIndex() {
		return index;
	}
	/**
	 * @param index The index to set.
	 */
	public void setIndex(String index) {
		this.index = index;
	}
	/**
	 * @return Returns the disability.
	 */
	public Disability getDisability() {
		return disability;
	}
	/**
	 * @param disability The disability to set.
	 */
	public void setDisability(Disability disability) {
		this.disability = disability;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
	    this.code = code;
	}
	public String getDescription()  {
	    return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getPercentage()  {
	    return this.percentage;
	}
	public void setPercentage(Integer percentage)  {
		this.percentage = percentage;
	}

	/**
	 * @return Returns the diagnosticExtremity.
	 */
	public String getDiagnosticExtremity() {
		return diagnosticExtremity;
	}
	/**
	 * @param diagnosticExtremity The diagnosticExtremity to set.
	 */
	public void setDiagnosticExtremity(String diagnosticExtremity) {
		this.diagnosticExtremity = diagnosticExtremity;
	}
	/**
	 * @return Returns the effectiveDate.
	 */
	public String getEffectiveDate() {
		return effectiveDate;
	}
	/**
	 * @param effectiveDate The effectiveDate to set.
	 */
	public void setEffectiveDate(String effectiveDate) {
		this.effectiveDate = effectiveDate;
	}
	/**
	 * @return Returns the ratingDate.
	 */
	public String getRatingDate() {
		return ratingDate;
	}
	/**
	 * @param ratingDate The ratingDate to set.
	 */
	public void setRatingDate(String ratingDate) {
		this.ratingDate = ratingDate;
	}
}
