Modifier and Type | Field and Description |
---|---|
static int |
ENTITY |
static int |
PARAGRAPH |
static int |
SENTENCE |
Constructor and Description |
---|
Suggestion() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getContent()
Get content of the Suggestion object.
|
int |
getId()
Get ID of the Suggestion object.
|
Source |
getSource()
Get source object of the Suggestion object.
|
int |
getType()
Get suggestion type of the Suggestion object.
|
void |
setId(int id)
Set ID of the Suggestion object.
|
void |
setSource(Source source)
Set source object of the Suggestion object.
|
void |
setType(int type)
Set suggestion type of the Suggestion object.
|
public static final int SENTENCE
public static final int PARAGRAPH
public static final int ENTITY
public int getId()
public void setId(int id)
id
- ID of the object.public int getType()
public void setType(int type)
type
- suggestion type of the object.public Source getSource()
public void setSource(Source source)
source
- source object of the object.public abstract java.lang.String getContent()