/**
* Copyright (c) 2010 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
* along with this software; if not, see
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
*
* Red Hat trademarks are not licensed under GPLv2. No permission is
* granted to use or replicate Red Hat trademarks that are incorporated
* in this software or its documentation.
*/
package com.redhat.rhn.taskomatic;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* TaskoBunch
* @version $Rev$
*/
public class TaskoBunch {
private Long id;
private String name;
private String description;
private String orgBunch;
private List<TaskoTemplate> templates = new ArrayList();
private Date created;
private Date modified;
/**
* @return Returns the id.
*/
public Long getId() {
return id;
}
/**
* @param idIn The id to set.
*/
public void setId(Long idIn) {
this.id = idIn;
}
/**
* @return Returns the name.
*/
public String getName() {
return name;
}
/**
* @param nameIn The name to set.
*/
public void setName(String nameIn) {
this.name = nameIn;
}
/**
* @return Returns the description.
*/
public String getDescription() {
return description;
}
/**
* @param descriptionIn The description to set.
*/
public void setDescription(String descriptionIn) {
this.description = descriptionIn;
}
/**
* @return Returns the created.
*/
public Date getCreated() {
return created;
}
/**
* @param createdIn The created to set.
*/
public void setCreated(Date createdIn) {
this.created = createdIn;
}
/**
* @return Returns the modified.
*/
public Date getModified() {
return modified;
}
/**
* @param modifiedIn The modified to set.
*/
public void setModified(Date modifiedIn) {
this.modified = modifiedIn;
}
/**
* @return Returns the templates.
*/
public List<TaskoTemplate> getTemplates() {
return templates;
}
/**
* @param templatesIn The templates to set.
*/
public void setTemplates(List<TaskoTemplate> templatesIn) {
this.templates = templatesIn;
}
/**
* @return Returns the orgBunch.
*/
public String getOrgBunch() {
return orgBunch;
}
/**
* @param orgBunchIn The orgBunch to set.
*/
public void setOrgBunch(String orgBunchIn) {
this.orgBunch = orgBunchIn;
}
}