public class GlossaryEntry
extends java.lang.Object
Constructor and Description |
---|
GlossaryEntry(java.lang.String src,
java.lang.String[] loc,
java.lang.String[] com,
boolean[] fromPriorityGlossary,
java.lang.String[] origins) |
GlossaryEntry(java.lang.String src,
java.lang.String loc,
java.lang.String com,
boolean fromPriorityGlossary,
java.lang.String origin) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
getComments() |
java.lang.String |
getCommentText()
Return the first comment string.
|
java.lang.String[] |
getLocTerms(boolean uniqueOnly)
Return each individual target-language term that
corresponds to the source term.
|
java.lang.String |
getLocText()
Return the first target-language term string.
|
java.lang.String[] |
getOrigins(boolean uniqueOnly) |
boolean[] |
getPriorities() |
boolean |
getPriority() |
java.lang.String |
getSrcText() |
int |
hashCode() |
public GlossaryEntry(java.lang.String src, java.lang.String[] loc, java.lang.String[] com, boolean[] fromPriorityGlossary, java.lang.String[] origins)
public GlossaryEntry(java.lang.String src, java.lang.String loc, java.lang.String com, boolean fromPriorityGlossary, java.lang.String origin)
public java.lang.String getSrcText()
public java.lang.String getLocText()
getLocTerms(boolean)
.public java.lang.String[] getLocTerms(boolean uniqueOnly)
uniqueOnly
- Whether or not to filter duplicates from the listpublic java.lang.String getCommentText()
getComments()
.public java.lang.String[] getComments()
public boolean getPriority()
public boolean[] getPriorities()
public java.lang.String[] getOrigins(boolean uniqueOnly)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object