/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations under * the License. * * The Original Code is OpenELIS code. * * Copyright (C) The Minnesota Department of Health. All Rights Reserved. */ package us.mn.state.health.lims.reports.send.sample.valueholder; import us.mn.state.health.lims.common.util.StringUtil; public class PatientXmit extends us.mn.state.health.lims.patient.valueholder.Patient { private String lastName; private String firstName; private String streetAddress; private String city; private String state; private String zipCode; private String homePhone; public PatientXmit() { } public String getHomePhone() { return homePhone; } public void setHomePhone(String homePhone) { this.homePhone = homePhone; } public String getCity() { if (!StringUtil.isNullorNill(city)) { city.trim(); } return city; } public void setCity(String city) { this.city = city; } public String getState() { if (!StringUtil.isNullorNill(state)) { state.trim(); } return state; } public void setState(String state) { this.state = state; } public String getStreetAddress() { return streetAddress; } public void setStreetAddress(String streetAddress) { this.streetAddress = streetAddress; } public String getZipCode() { if (!StringUtil.isNullorNill(zipCode)) { zipCode.trim(); } return zipCode; } public void setZipCode(String zipCode) { this.zipCode = zipCode; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } }