org.gnomekr.potron.data
Class TranslatedEntry

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

public class TranslatedEntry
extends Object
implements Serializable

TranslatedEntry.java

Version:
$Revision 1.1 $ $Date: 2005/09/11 05:49:44 $
Author:
Xavier Cho
See Also:
Serialized Form

Constructor Summary
TranslatedEntry()
           
TranslatedEntry(Entry entry, Translation trans)
           
TranslatedEntry(ParserEntry entry)
           
 
Method Summary
 boolean equals(Object object)
           
 String getComment()
           
 Entry getEntry()
           
 Set<EntryLog> getEntryLogs()
           
 long getId()
           
 Lock getLock()
           
 Date getModifiedDate()
           
 List<String> getPluralStrings()
           
 String getTranslatedString()
           
 Translation getTranslation()
           
 User getTranslator()
           
 int hashCode()
           
 boolean isFuzzy()
           
 void setComment(String comment)
           
 void setEntry(Entry entry)
           
 void setEntryLogs(Set<EntryLog> entryLogs)
           
 void setFuzzy(boolean fuzzy)
           
 void setId(long id)
           
 void setLock(Lock lock)
           
 void setModifiedDate(Date modifiedDate)
           
 void setPluralStrings(List<String> pluralStrings)
           
 void setTranslatedString(String translatedString)
           
 void setTranslation(Translation translation)
           
 void setTranslator(User translator)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TranslatedEntry

public TranslatedEntry()

TranslatedEntry

public TranslatedEntry(ParserEntry entry)
Parameters:
entry -

TranslatedEntry

public TranslatedEntry(Entry entry,
                       Translation trans)
Parameters:
entry2 -
Method Detail

getId

public long getId()
Returns:
Returns the id.

getEntry

public Entry getEntry()
Returns:
Returns the entry.

getComment

public String getComment()
Returns:

isFuzzy

public boolean isFuzzy()
Returns:
Returns the fuzzy.

getTranslatedString

public String getTranslatedString()
Returns:
Returns the translation.

getPluralStrings

public List<String> getPluralStrings()
Returns:
Returns the pluralStrings.

getTranslator

public User getTranslator()
Returns:
Returns the translator.

getTranslation

public Translation getTranslation()
Returns:

getModifiedDate

public Date getModifiedDate()
Returns:
Returns the modifiedDate.

getEntryLogs

public Set<EntryLog> getEntryLogs()
Returns:
Returns the entryLogs.

getLock

public Lock getLock()
Returns:
Returns the lock.

setComment

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

setEntry

public void setEntry(Entry entry)
Parameters:
entry - The entry to set.

setEntryLogs

public void setEntryLogs(Set<EntryLog> entryLogs)
Parameters:
entryLogs - The entryLogs to set.

setFuzzy

public void setFuzzy(boolean fuzzy)
Parameters:
fuzzy - The fuzzy to set.

setId

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

setLock

public void setLock(Lock lock)
Parameters:
lock - The lock to set.

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Parameters:
modifiedDate - The modifiedDate to set.

setTranslatedString

public void setTranslatedString(String translatedString)
Parameters:
translatedString - The translatedString to set.

setPluralStrings

public void setPluralStrings(List<String> pluralStrings)
Parameters:
pluralStrings - The pluralStrings to set.

setTranslation

public void setTranslation(Translation translation)
Parameters:
translation -

setTranslator

public void setTranslator(User translator)
Parameters:
translator - The translator 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.