org.appfuse.model
Class Template
java.lang.Object
org.appfuse.model.BaseObject
org.appfuse.model.Template
- All Implemented Interfaces:
- Serializable
- public class Template
- extends BaseObject
- implements Serializable
Template class
This class is used to represent available templates in the database.
View Source
- Version:
- $Revision: 1.1 $ $Date: 2004/03/31 13:04:16 $
- Author:
- Matt Raible
- See Also:
- Serialized Form
- Class:
- table="template"
- Form Name:
- include-all="true" extends="BaseForm"
Template
public Template()
setId
public void setId(Long id)
- Sets the id.
- Parameters:
id - The id to set
getId
public Long getId()
- Returns the id.
- Returns:
- String
- Id:
- column="id"
generator-class="increment" unsaved-value="null"
setContent
public void setContent(String content)
- Parameters:
content - The content to set.
getContent
public String getContent()
- Returns:
- Returns the content.
- Property:
- column="content" length="7000"
setName
public void setName(String name)
getName
public String getName()
- Returns the name.
- Returns:
- String
- Property:
- column="name" length="50"
getLastModified
public Date getLastModified()
- Returns:
- Returns the lastModified.
- Property:
- column="last_modified" not-null="true"
setLastModified
public void setLastModified(Date lastModified)
- Parameters:
lastModified - The lastModified to set.
Copyright © 2002-2004