org.gnomekr.potron.data
Class Entry

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

public class Entry
extends Object
implements Serializable

Entry.java

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

Constructor Summary
Entry()
           
Entry(ParserEntry entry, Template template)
           
 
Method Summary
 boolean equals(Object object)
           
 String getComment()
           
 long getId()
           
 String getKey()
           
 int getLetterCount()
           
 String getOccurrences()
           
 List<String> getOccurrencesList()
           
 String getPluralKey()
           
 Template getTemplate()
           
 Set<TranslatedEntry> getTranslatedEntries()
           
 int getWordCount()
           
 int hashCode()
           
 void setComment(String comment)
           
 void setId(long id)
           
 void setKey(String key)
           
 void setOccurrences(String references)
           
 void setPluralKey(String pluralKey)
           
 void setTemplate(Template template)
           
 void setTranslatedEntries(Set<TranslatedEntry> translatedEntries)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Entry

public Entry()

Entry

public Entry(ParserEntry entry,
             Template template)
Parameters:
entry -
Method Detail

getId

public long getId()
Returns:
Returns the id.

getKey

public String getKey()
Returns:

getPluralKey

public String getPluralKey()
Returns:

getOccurrences

public String getOccurrences()
Returns:

getOccurrencesList

public List<String> getOccurrencesList()

getComment

public String getComment()
Returns:

getTemplate

public Template getTemplate()
Returns:

getTranslatedEntries

public Set<TranslatedEntry> getTranslatedEntries()
Returns:
Returns the translatedEntries.

getLetterCount

public int getLetterCount()

getWordCount

public int getWordCount()

setComment

public void setComment(String comment)
Parameters:
comment -

setKey

public void setKey(String key)
Parameters:
key -

setPluralKey

public void setPluralKey(String pluralKey)
Parameters:
pluralKey -

setId

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

setOccurrences

public void setOccurrences(String references)
Parameters:
occurrences -

setTemplate

public void setTemplate(Template template)
Parameters:
template -

setTranslatedEntries

public void setTranslatedEntries(Set<TranslatedEntry> translatedEntries)
Parameters:
translatedEntries - The translatedEntries 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.