/* Copyright (C) 2011 Peter Hanecak <hanecak@opendata.sk>
*
* This file is part of Open Data Node.
*
* Open Data Node 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.
*
* Open Data Node 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 Open Data Node. If not, see <http://www.gnu.org/licenses/>.
*/
package sk.opendatanode.model;
import java.util.Date;
/**
* TODO: This is a copy of file from 'open-data-node'. Create
* 'open-data-node-common' module so that we not need to duplicate files.
*/
public class OrganizationRecord extends AbstractRecord {
private String datanestId; // TODO: consider making it an Integer
private String source;
private String name;
private String legalForm; // TODO: consider making it an enumeration, to easily catch errors and to ease categorization
private String seat;
private String ico;
private Date dateFrom;
private Date dateTo;
public String getDatanestId() {
return datanestId;
}
public void setDatanestId(String datanestId) {
this.datanestId = datanestId;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getLegalForm() {
return legalForm;
}
public void setLegalForm(String legalForm) {
this.legalForm = legalForm;
}
public String getSeat() {
return seat;
}
public void setSeat(String seat) {
this.seat = seat;
}
public String getIco() {
return ico;
}
public void setIco(String ico) {
this.ico = ico;
}
public Date getDateFrom() {
return dateFrom;
}
public void setDateFrom(Date dateFrom) {
this.dateFrom = dateFrom;
}
public Date getDateTo() {
return dateTo;
}
public void setDateTo(Date dateTo) {
this.dateTo = dateTo;
}
}