package gov.va.med.esr.common.batchprocess;

import org.apache.commons.lang.builder.ToStringBuilder;

import gov.va.med.esr.common.infra.ImpreciseDate;
import gov.va.med.fw.model.AbstractEntity;
/**
 * 
 * @author Rajiv Patnaik
 * Created on Mar 6, 2006
 * @version 1.0
 * 
 * Copyright © 2006 VHA. All rights reserved
 */
public class BatchProcessPersonIdentityTraits extends AbstractEntity
{
    /**
	 * An instance of serialVersionUID
	 */
	private static final long serialVersionUID = 3552158782321849623L;
	private String lastName;
    private String firstName;
    private String middleInitial;
    private String suffix;
    private String prefix;
    private String ssn;
    private String gender;
    private ImpreciseDate dateOfBirth;
    
    
    /**
     * @return Returns the dateOfBirth.
     */
    public ImpreciseDate getDateOfBirth()
    {
        return dateOfBirth;
    }
    /**
     * @param dateOfBirth The dateOfBirth to set.
     */
    public void setDateOfBirth(ImpreciseDate dateOfBirth)
    {
        this.dateOfBirth = dateOfBirth;
    }
    /**
     * @return Returns the firstName.
     */
    public String getFirstName()
    {
        return firstName;
    }
    /**
     * @param firstName The firstName to set.
     */
    public void setFirstName(String firstName)
    {
        this.firstName = firstName;
    }
    /**
     * @return Returns the gender.
     */
    public String getGender()
    {
        return gender;
    }
    /**
     * @param gender The gender to set.
     */
    public void setGender(String gender)
    {
        this.gender = gender;
    }
    /**
     * @return Returns the lastName.
     */
    public String getLastName()
    {
        return lastName;
    }
    /**
     * @param lastName The lastName to set.
     */
    public void setLastName(String lastName)
    {
        this.lastName = lastName;
    }
    /**
     * @return Returns the middleInitial.
     */
    public String getMiddleInitial()
    {
        return middleInitial;
    }
    /**
     * @param middleInitial The middleInitial to set.
     */
    public void setMiddleInitial(String middleInitial)
    {
        this.middleInitial = middleInitial;
    }
    /**
     * @return Returns the ssn.
     */
    public String getSsn()
    {
        return ssn;
    }
    /**
     * @param ssn The ssn to set.
     */
    public void setSsn(String ssn)
    {
        this.ssn = ssn;
    }
    /**
     * @return Returns the suffix.
     */
    public String getSuffix()
    {
        return suffix;
    }
    /**
     * @param suffix The suffix to set.
     */
    public void setSuffix(String suffix)
    {
        this.suffix = suffix;
    }
    
    /**
     * @return Returns the prefix.
     */
    public String getPrefix()
    {
        return prefix;
    }
    /**
     * @param prefix The prefix to set.
     */
    public void setPrefix(String prefix)
    {
        this.prefix = prefix;
    }
    protected void buildToString(ToStringBuilder builder) {
        
        builder.append("lastName", this.lastName);
        builder.append("firstName", this.firstName);
        builder.append("middleInitial", this.middleInitial);
        builder.append("suffix", this.suffix);
        builder.append("prefix", this.prefix);
        //builder.append("ssn", this.ssn);
        builder.append("gender", this.gender);
        builder.append("dateOfBirth", this.dateOfBirth);
    }    
}
