public class Term extends DataWithExtAttributes
| Constructor and Description |
|---|
Term(java.lang.String text)
Creates a
Term object with a given text. |
Term(Term original)
Copy constructor.
|
| 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 Term(java.lang.String text)
Term object with a given text.text - the text of the term.public Term(Term 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).