org.gnomekr.potron.data
Class Template

java.lang.Object
  extended by org.gnomekr.potron.data.Template
All Implemented Interfaces:
Serializable

public class Template
extends Object
implements Serializable

Template.java

Version:
$Revision 1.1 $ $Date: 2005/07/21 10:04:42 $
Author:
Xavier Cho
See Also:
Serialized Form

Constructor Summary
Template()
           
Template(long id)
           
 
Method Summary
 boolean equals(Object object)
           
 String getComment()
           
 String getDescription()
           
 List<Entry> getEntries()
           
 List<Header> getHeaders()
           
 long getId()
           
 String getName()
           
 Project getProject()
           
 Date getRegisteredDate()
           
 Set<Translation> getTranslations()
           
 int hashCode()
           
 void setComment(String comment)
           
 void setDescription(String description)
           
 void setEntries(List<Entry> entries)
           
 void setHeaders(List<Header> headers)
           
 void setId(long id)
           
 void setName(String name)
           
 void setProject(Project project)
           
 void setRegisteredDate(Date registeredDate)
           
 void setTranslations(Set<Translation> translations)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Template

public Template()

Template

public Template(long id)
Parameters:
id -
Method Detail

getId

public long getId()
Returns:

getName

public String getName()
Returns:

getDescription

public String getDescription()
Returns:

getComment

public String getComment()
Returns:

getRegisteredDate

public Date getRegisteredDate()
Returns:

getProject

public Project getProject()
Returns:

getHeaders

public List<Header> getHeaders()
Returns:

getTranslations

public Set<Translation> getTranslations()
Returns:

getEntries

public List<Entry> getEntries()
Returns:
Returns the entries.

setDescription

public void setDescription(String description)
Parameters:
description - The description to set.

setComment

public void setComment(String comment)
Parameters:
comment - The comment to set.

setId

public void setId(long id)
Parameters:
id - The id to set.

setName

public void setName(String name)
Parameters:
name - The name to set.

setRegisteredDate

public void setRegisteredDate(Date registeredDate)
Parameters:
registeredDate - The registeredDate to set.

setProject

public void setProject(Project project)
Parameters:
registeredDate - The project to set.

setEntries

public void setEntries(List<Entry> entries)
Parameters:
entries - The entries to set.

setHeaders

public void setHeaders(List<Header> headers)
Parameters:
headers - The headers to set.

setTranslations

public void setTranslations(Set<Translation> translations)
Parameters:
translations - The translations to set.

equals

public boolean equals(Object object)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 2000-2005 Gnome Korea. All Rights Reserved.