public class GlossaryEntry extends Object implements Serializable, HasMediaType
Constructor and Description |
---|
GlossaryEntry() |
GlossaryEntry(Long id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
List<GlossaryTerm> |
getGlossaryTerms()
The full list of glossary terms
|
Long |
getId()
Unique identifier
|
String |
getMediaType(MediaTypes.Format format) |
String |
getPos()
Glossary entry's part of speech
|
QualifiedName |
getQualifiedName() |
String |
getSourceReference() |
LocaleId |
getSrcLang()
The source locale for this specific entry
|
int |
getTermsCount()
Number of translated terms.
|
int |
hashCode() |
void |
setDescription(String description) |
void |
setGlossaryTerms(List<GlossaryTerm> glossaryTerms) |
void |
setId(Long id) |
void |
setPos(String pos) |
void |
setQualifiedName(QualifiedName qualifiedName) |
void |
setSourceReference(String ref) |
void |
setSrcLang(LocaleId srcLang) |
void |
setTermsCount(int termsCount) |
String |
toString() |
public GlossaryEntry()
public GlossaryEntry(Long id)
public Long getId()
public void setId(Long id)
public String getPos()
public void setPos(String pos)
public String getDescription()
public void setDescription(String description)
public int getTermsCount()
public void setTermsCount(int termsCount)
public List<GlossaryTerm> getGlossaryTerms()
public void setGlossaryTerms(List<GlossaryTerm> glossaryTerms)
public LocaleId getSrcLang()
public void setSrcLang(LocaleId srcLang)
public String getSourceReference()
public void setSourceReference(String ref)
public QualifiedName getQualifiedName()
public void setQualifiedName(QualifiedName qualifiedName)
public String getMediaType(MediaTypes.Format format)
getMediaType
in interface HasMediaType
Copyright © 2017 Zanata Project. All rights reserved.