org.appfuse.model
Class Template

java.lang.Object
  extended byorg.appfuse.model.BaseObject
      extended byorg.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"

Constructor Summary
Template()
           
 
Method Summary
 String getContent()
           
 Long getId()
          Returns the id.
 Date getLastModified()
           
 String getName()
          Returns the name.
 void setContent(String content)
           
 void setId(Long id)
          Sets the id.
 void setLastModified(Date lastModified)
           
 void setName(String name)
           
 
Methods inherited from class org.appfuse.model.BaseObject
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Template

public Template()
Method Detail

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