/** * 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 FacilityXmit extends us.mn.state.health.lims.provider.valueholder.Provider { private String streetAddress; private String city; private String state; private String zipCode; private String department; private String organizationName; public String getDepartment() { return department; } public void setDepartment(String department) { this.department = department; } public FacilityXmit() { } 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)) { city.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 getOrganizationName() { return organizationName; } public void setOrganizationName(String organizationName) { this.organizationName = organizationName; } }