/* This file is part of OpenMyEWB. OpenMyEWB 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. OpenMyEWB 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 OpenMyEWB. If not, see <http://www.gnu.org/licenses/>. OpenMyEWB is Copyright 2005-2009 Nicolas Kruchten (nicolas@kruchten.com), Francis Kung, Engineers Without Borders Canada, Michael Trauttmansdorff, Jon Fishbein, David Kadish */ package ca.myewb.beans; import ca.myewb.model.UserModel; public class Placement { private int id; protected String name; protected boolean active; protected boolean deleted; protected UserModel ov; private String startdate; private String enddate; private String country; private String town; protected String description; private String accountingid; private boolean longterm; public Placement() { this.active = false; this.deleted = false; this.longterm = false; name = ""; ov = null; } public boolean isActive() { return active; } public void setActive(boolean active) { this.active = active; } public String getName() { return name; } public void setName(String name) { this.name = name; } public UserModel getOv() { return ov; } public void setOv(User ov) { this.ov = (UserModel)ov; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getAccountingid() { return accountingid; } public void setAccountingid(String accountingid) { this.accountingid = accountingid; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getEnddate() { return enddate; } public void setEnddate(String enddate) { this.enddate = enddate; } public String getStartdate() { return startdate; } public void setStartdate(String startdate) { this.startdate = startdate; } public String getTown() { return town; } public void setTown(String town) { this.town = town; } public boolean isDeleted() { return deleted; } public void setDeleted(boolean deleted) { this.deleted = deleted; } public boolean isLongterm() { return longterm; } public void setLongterm(boolean longterm) { this.longterm = longterm; } }