/*
* Ara - Capture Species and Specimen Data
*
* Copyright © 2009 INBio (Instituto Nacional de Biodiversidad).
* Heredia, Costa Rica.
*
* 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.taxonomy;
import java.util.Calendar;
import org.inbio.ara.dto.GenericDTO;
/**
*
* @author esmata
*/
public class TaxonDescriptionDTO extends GenericDTO{
//Para propositos de GUI (Listado)
private boolean selected;
private String taxonDefaultName;
private String familyName;
private String kingdomName;
private Calendar creationDate;
private String createdBy;
//Para obtener el nombre de la familia y reino
private Long kingdomId;
private Long familyId;
//Atributos propios de la entidad
private String url;
private String title;
private Long languageId;
private Long taxonDescriptionStageId;
private Long taxonId; //PK
private Long taxonDescriptionSequence; //PK
private Long institutionId;
//Constructor
public TaxonDescriptionDTO(){
}
/**
* @return the taxonId
*/
public Long getTaxonId() {
return taxonId;
}
/**
* @param taxonId the taxonId to set
*/
public void setTaxonId(Long taxonId) {
this.taxonId = taxonId;
}
/**
* @return the taxonDefaultName
*/
public String getTaxonDefaultName() {
return taxonDefaultName;
}
/**
* @param taxonDefaultName the taxonDefaultName to set
*/
public void setTaxonDefaultName(String taxonDefaultName) {
this.taxonDefaultName = taxonDefaultName;
}
/**
* @return the familyId
*/
public Long getFamilyId() {
return familyId;
}
/**
* @param familyId the familyId to set
*/
public void setFamilyId(Long familyId) {
this.familyId = familyId;
}
/**
* @return the familyName
*/
public String getFamilyName() {
return familyName;
}
/**
* @param familyName the familyName to set
*/
public void setFamilyName(String familyName) {
this.familyName = familyName;
}
/**
* @return the kingdomId
*/
public Long getKingdomId() {
return kingdomId;
}
/**
* @param kingdomId the kingdomId to set
*/
public void setKingdomId(Long kingdomId) {
this.kingdomId = kingdomId;
}
/**
* @return the kingdomName
*/
public String getKingdomName() {
return kingdomName;
}
/**
* @param kingdomName the kingdomName to set
*/
public void setKingdomName(String kingdomName) {
this.kingdomName = kingdomName;
}
/**
* @return the taxonDescriptionSequence
*/
public Long getTaxonDescriptionSequence() {
return taxonDescriptionSequence;
}
/**
* @param taxonDescriptionSequence the taxonDescriptionSequence to set
*/
public void setTaxonDescriptionSequence(Long taxonDescriptionSequence) {
this.taxonDescriptionSequence = taxonDescriptionSequence;
}
/**
* @return the creationDate
*/
public Calendar getCreationDate() {
return creationDate;
}
/**
* @param creationDate the creationDate to set
*/
public void setCreationDate(Calendar creationDate) {
this.creationDate = creationDate;
}
/**
* @return the createdBy
*/
public String getCreatedBy() {
return createdBy;
}
/**
* @param createdBy the createdBy to set
*/
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
/**
* @return the selected
*/
public boolean isSelected() {
return selected;
}
/**
* @param selected the selected to set
*/
public void setSelected(boolean selected) {
this.selected = selected;
}
/**
* @return the url
*/
public String getUrl() {
return url;
}
/**
* @param url the url to set
*/
public void setUrl(String url) {
this.url = url;
}
/**
* @return the title
*/
public String getTitle() {
return title;
}
/**
* @param title the title to set
*/
public void setTitle(String title) {
this.title = title;
}
/**
* @return the languageId
*/
public Long getLanguageId() {
return languageId;
}
/**
* @param languageId the languageId to set
*/
public void setLanguageId(Long languageId) {
this.languageId = languageId;
}
/**
* @return the taxonDescriptionStageId
*/
public Long getTaxonDescriptionStageId() {
return taxonDescriptionStageId;
}
/**
* @param taxonDescriptionStageId the taxonDescriptionStageId to set
*/
public void setTaxonDescriptionStageId(Long taxonDescriptionStageId) {
this.taxonDescriptionStageId = taxonDescriptionStageId;
}
/**
* @return the institutionId
*/
public Long getInstitutionId() {
return institutionId;
}
/**
* @param institutionId the institutionId to set
*/
public void setInstitutionId(Long institutionId) {
this.institutionId = institutionId;
}
}