/* Ara - capture species and specimen data * * Copyright (C) 2009 INBio ( Instituto Nacional de Biodiversidad ) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.inbio.ara.dto.agent; import java.io.Serializable; /** * * @author esmata */ public class InstitutionDTO implements Serializable{ //Estados del DTO private String institutionName; private Long institutionId; private String institutionCode; private String telephone; private String fax; private String streetAddress; private String city; private String stateProvince; private String country; private String acronym; private String url; private Long multimediaId; /* For Graphical Inteface purposes */ private boolean selected; //Constructores de la clase public InstitutionDTO(){ } public InstitutionDTO(String name,Long id){ this.institutionId = id; this.institutionName = name; } /** * @return the institutionName */ public String getInstitutionName() { return institutionName; } /** * @param institutionName the institutionName to set */ public void setInstitutionName(String institutionName) { this.institutionName = institutionName; } /** * @return the institutionId */ public Long getInstitutionId() { return institutionId; } /** * @param institutionId the institutionId to set */ public void setInstitutionId(Long institutionId) { this.institutionId = institutionId; } /** * @return the institutionCode */ public String getInstitutionCode() { return institutionCode; } /** * @param institutionCode the institutionCode to set */ public void setInstitutionCode(String institutionCode) { this.institutionCode = institutionCode; } /** * @return the telephone */ public String getTelephone() { return telephone; } /** * @param telephone the telephone to set */ public void setTelephone(String telephone) { this.telephone = telephone; } /** * @return the fax */ public String getFax() { return fax; } /** * @param fax the fax to set */ public void setFax(String fax) { this.fax = fax; } /** * @return the streetAddress */ public String getStreetAddress() { return streetAddress; } /** * @param streetAddress the streetAddress to set */ public void setStreetAddress(String streetAddress) { this.streetAddress = streetAddress; } /** * @return the city */ public String getCity() { return city; } /** * @param city the city to set */ public void setCity(String city) { this.city = city; } /** * @return the stateProvince */ public String getStateProvince() { return stateProvince; } /** * @param stateProvince the stateProvince to set */ public void setStateProvince(String stateProvince) { this.stateProvince = stateProvince; } /** * @return the country */ public String getCountry() { return country; } /** * @param country the country to set */ public void setCountry(String country) { this.country = country; } /** * @return the acronym */ public String getAcronym() { return acronym; } /** * @param acronym the acronym to set */ public void setAcronym(String acronym) { this.acronym = acronym; } /** * @return the url */ public String getUrl() { return url; } /** * @param url the url to set */ public void setUrl(String url) { this.url = url; } /** * @return the multimediaId */ public Long getMultimediaId() { return multimediaId; } /** * @param multimediaId the multimediaId to set */ public void setMultimediaId(Long multimediaId) { this.multimediaId = multimediaId; } /** * @return the selected */ public boolean isSelected() { return selected; } /** * @param selected the selected to set */ public void setSelected(boolean selected) { this.selected = selected; } }