package org.ei.drishti.dto.register; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.codehaus.jackson.annotate.JsonProperty; public class MaleSterilizationRegisterEntryDTO { @JsonProperty private String ecNumber; @JsonProperty private String wifeName; @JsonProperty private String husbandName; @JsonProperty private String village; @JsonProperty private String subCenter; @JsonProperty private String wifeAge; @JsonProperty private String husbandAge; @JsonProperty private String caste; @JsonProperty private String religion; @JsonProperty private String numberOfLivingMaleChildren; @JsonProperty private String numberOfLivingFemaleChildren; @JsonProperty private String wifeEducationLevel; @JsonProperty private String husbandEducationLevel; @JsonProperty private MaleSterilizationFPDetailsDTO fpDetails; public String ecNumber() { return ecNumber; } public String wifeName() { return wifeName; } public String husbandName() { return husbandName; } public String village() { return village; } public String subCenter() { return subCenter; } public String wifeAge() { return wifeAge; } public String husbandAge() { return husbandAge; } public String caste() { return caste; } public String religion() { return religion; } public String numberOfLivingMaleChildren() { return numberOfLivingMaleChildren; } public String numberOfLivingFemaleChildren() { return numberOfLivingFemaleChildren; } public String wifeEducationLevel() { return wifeEducationLevel; } public String husbandEducationLevel() { return husbandEducationLevel; } public MaleSterilizationFPDetailsDTO fpDetails() { return fpDetails; } public MaleSterilizationRegisterEntryDTO withEcNumber(String ecNumber) { this.ecNumber = ecNumber; return this; } public MaleSterilizationRegisterEntryDTO withWifeName(String wifeName) { this.wifeName = wifeName; return this; } public MaleSterilizationRegisterEntryDTO withHusbandName(String husbandName) { this.husbandName = husbandName; return this; } public MaleSterilizationRegisterEntryDTO withVillage(String village) { this.village = village; return this; } public MaleSterilizationRegisterEntryDTO withSubCenter(String subCenter) { this.subCenter = subCenter; return this; } public MaleSterilizationRegisterEntryDTO withWifeAge(String wifeAge) { this.wifeAge = wifeAge; return this; } public MaleSterilizationRegisterEntryDTO withHusbandAge(String husbandAge) { this.husbandAge = husbandAge; return this; } public MaleSterilizationRegisterEntryDTO withCaste(String caste) { this.caste = caste; return this; } public MaleSterilizationRegisterEntryDTO withReligion(String religion) { this.religion = religion; return this; } public MaleSterilizationRegisterEntryDTO withNumberOfLivingMaleChildren(String numberOfLivingMaleChildren) { this.numberOfLivingMaleChildren = numberOfLivingMaleChildren; return this; } public MaleSterilizationRegisterEntryDTO withNumberOfLivingFemaleChildren(String numberOfLivingFemaleChildren) { this.numberOfLivingFemaleChildren = numberOfLivingFemaleChildren; return this; } public MaleSterilizationRegisterEntryDTO withWifeEducationLevel(String wifeEducationLevel) { this.wifeEducationLevel = wifeEducationLevel; return this; } public MaleSterilizationRegisterEntryDTO withHusbandEducationLevel(String husbandEducationLevel) { this.husbandEducationLevel = husbandEducationLevel; return this; } public MaleSterilizationRegisterEntryDTO withFpDetails(MaleSterilizationFPDetailsDTO fpDetails) { this.fpDetails = fpDetails; return this; } @Override public boolean equals(Object o) { return EqualsBuilder.reflectionEquals(this, o); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }