org.gnomekr.potron.data
Class Translation

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

public class Translation
extends Object
implements Serializable

Translation.java

Version:
$Revision 1.1 $ $Date: 2005/07/24 02:29:15 $
Author:
Xavier Cho
See Also:
Serialized Form

Constructor Summary
Translation()
           
Translation(long id)
           
 
Method Summary
 boolean equals(Object object)
           
 String getComment()
           
 List<TranslatedEntry> getEntries()
           
 List<Header> getHeaders()
           
 long getId()
           
 LanguageTeam getLanguageTeam()
           
 User getLastTranslator()
           
 String getName()
           
 PluralForms getPluralForms()
           
 Date getRegisteredDate()
           
 Date getRevisionDate()
           
 Template getTemplate()
           
 int hashCode()
           
 void setComment(String comment)
           
 void setEntries(List<TranslatedEntry> entries)
           
 void setHeaders(List<Header> headers)
           
 void setId(long id)
           
 void setLanguageTeam(LanguageTeam languageTeam)
           
 void setLastTranslator(User lastTranslator)
           
 void setName(String name)
           
 void setPluralForms(PluralForms pluralForms)
           
 void setRegisteredDate(Date registeredDate)
           
 void setRevisionDate(Date revisionDate)
           
 void setTemplate(Template template)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Translation

public Translation()

Translation

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

getId

public long getId()
Returns:

getName

public String getName()
Returns:

getComment

public String getComment()
Returns:

getRegisteredDate

public Date getRegisteredDate()
Returns:

getRevisionDate

public Date getRevisionDate()
Returns:

getLastTranslator

public User getLastTranslator()
Returns:

getTemplate

public Template getTemplate()
Returns:

getLanguageTeam

public LanguageTeam getLanguageTeam()
Returns:

getHeaders

public List<Header> getHeaders()
Returns:

getEntries

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

getPluralForms

public PluralForms getPluralForms()
Returns:

setComment

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

setHeaders

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

setId

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

setLastTranslator

public void setLastTranslator(User lastTranslator)
Parameters:
lastTranslator - The lastTranslator to set.

setTemplate

public void setTemplate(Template template)
Parameters:
template - The template to set.

setLanguageTeam

public void setLanguageTeam(LanguageTeam languageTeam)
Parameters:
languageTeam - The languageTeam 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.

setRevisionDate

public void setRevisionDate(Date revisionDate)
Parameters:
revisionDate - The revisionDate to set.

setEntries

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

setPluralForms

public void setPluralForms(PluralForms pluralForms)
Parameters:
pluralForms -

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.