|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.api.entry.WiktionaryTranslation
@Persistent public class WiktionaryTranslation
Default implementation of the IWiktionaryTranslation
interface.
See there for details.
Field Summary | |
---|---|
protected String |
additionalInformation
|
protected ILanguage |
language
|
protected String |
languageStr
|
protected String |
translation
|
protected String |
transliteration
|
Constructor Summary | |
---|---|
WiktionaryTranslation()
Creates a new, empty translation. |
|
WiktionaryTranslation(ILanguage language,
String translation)
Creates a new translation for the given language and translation string. |
Method Summary | |
---|---|
String |
getAdditionalInformation()
Returns additional information on the translation, including usage notes, meaning-related information, and grammatical properties. |
ILanguage |
getLanguage()
Returns the target language of the translation. |
String |
getTranslation()
Returns the translated word form (belonging to target language). |
String |
getTransliteration()
Returns a transliteration to the script of the encoding Wiktionary. |
void |
setAdditionalInformation(String additionalInformation)
Assigns the given additional information to this translation. |
void |
setTransliteration(String transliteration)
Assigns the given transliteration to this translation. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient ILanguage language
protected String languageStr
protected String translation
protected String transliteration
protected String additionalInformation
Constructor Detail |
---|
public WiktionaryTranslation()
public WiktionaryTranslation(ILanguage language, String translation)
Method Detail |
---|
public ILanguage getLanguage()
IWiktionaryTranslation
getLanguage
in interface IWiktionaryTranslation
public String getTranslation()
IWiktionaryTranslation
getTranslation
in interface IWiktionaryTranslation
public String getTransliteration()
IWiktionaryTranslation
null
if no transliteration is specified.
getTransliteration
in interface IWiktionaryTranslation
public void setTransliteration(String transliteration)
public String getAdditionalInformation()
IWiktionaryTranslation
getAdditionalInformation
in interface IWiktionaryTranslation
public void setAdditionalInformation(String additionalInformation)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |