public class Translation extends DataWithExtAttributes
| Constructor and Description |
|---|
Translation(java.lang.String text)
Creates a
Translation object with a given text. |
Translation(Translation original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets the id for this translation.
|
java.lang.String |
getRef()
Gets the reference for this translation.
|
java.lang.String |
getSource()
Gets the source of this field.
|
java.lang.String |
getText()
Get the text of this field.
|
void |
setId(java.lang.String id)
Sets the id for this translation.
|
void |
setRef(java.lang.String ref)
Sets the reference for this translation.
|
void |
setSource(java.lang.String source)
sets the source of this field.
|
void |
setText(java.lang.String text)
Sets the text of this field.
|
getExtAttributes, getExtAttributeValue, hasExtAttribute, setExtAttributespublic Translation(java.lang.String text)
Translation object with a given text.text - the text of the translation.public Translation(Translation original)
original - the original object to duplicate.public java.lang.String getId()
public void setId(java.lang.String id)
id - the new id for this translation (can be null).public java.lang.String getRef()
public void setRef(java.lang.String ref)
ref - the new reference for this translation.public java.lang.String getText()
public void setText(java.lang.String text)
text - the new text of this field (can be null).public java.lang.String getSource()
public void setSource(java.lang.String source)
source - the new source of this field (can be null).