public class Definition extends DataWithExtAttributes
| Constructor and Description |
|---|
Definition(Definition original)
Copy constructor.
|
Definition(java.lang.String text)
Creates a
Definition object with a given text. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSource()
Gets the source of this field.
|
java.lang.String |
getText()
Get the text of this field.
|
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 Definition(java.lang.String text)
Definition object with a given text.text - the text of the definition.public Definition(Definition original)
original - the original object to duplicate.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).