@Entity public class Paragraph extends Suggestion
ENTITY, PARAGRAPH, SENTENCE
Constructor and Description |
---|
Paragraph()
Default constructor
|
Paragraph(int parentOrder)
Constructor to initialize object for storing in database
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Get content of the Suggestion object.
|
int |
getParentOrder()
Get parent order of the Paragraph object.
|
java.util.List<Sentence> |
getSentences()
Get sentences of the Paragraph object.
|
int |
getSourceID()
Get source ID of the Paragraph object.
|
void |
setParentOrder(int parentOrder)
Set parent order of the Paragraph object.
|
void |
setSentences(java.util.List<Sentence> sentences)
Set sentences of the Paragraph object.
|
void |
setSourceID(int sourceID)
Set source ID of the Paragraph object.
|
java.lang.String |
toString() |
public Paragraph()
public Paragraph(int parentOrder)
public int getSourceID()
public void setSourceID(int sourceID)
sourceID
- source ID of the object.public int getParentOrder()
public void setParentOrder(int parentOrder)
parentOrder
- parent order of the object.public java.util.List<Sentence> getSentences()
public void setSentences(java.util.List<Sentence> sentences)
sentences
- sentences of the object.public java.lang.String getContent()
Suggestion
getContent
in class Suggestion
public java.lang.String toString()
toString
in class java.lang.Object