/*
* Copyright (C) 2010-2012 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo FLOW.
*
* Akvo FLOW is free software: you can redistribute it and modify it under the terms of
* the GNU Affero General Public License (AGPL) as published by the Free Software Foundation,
* either version 3 of the License or any later version.
*
* Akvo FLOW 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 Affero General Public License included below for more details.
*
* The full license text can also be seen at <http://www.gnu.org/licenses/agpl.html>.
*/
package com.gallatinsystems.editorial.domain;
import javax.jdo.annotations.PersistenceCapable;
import com.gallatinsystems.framework.domain.BaseDomain;
import com.google.appengine.api.datastore.Text;
/**
* persistent class that is used to represent an editorial page. An editorial page can have a
* template (usually a velocity template) that can be evaluated to generate content. Editorial pages
* can also have child EditorialPageItems that are referenced using the page's id.
*
* @author Christopher Fagiani
*/
@PersistenceCapable
public class EditorialPage extends BaseDomain {
private static final long serialVersionUID = 1907982353218334734L;
private Text template;
private String type;
private String targetFileName;
public Text getTemplate() {
return template;
}
public void setTemplate(Text template) {
this.template = template;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getTargetFileName() {
return targetFileName;
}
public void setTargetFileName(String targetFileName) {
this.targetFileName = targetFileName;
}
}