public class Answers extends GenericModel
DocumentConversion| Modifier and Type | Class and Description | 
|---|---|
class  | 
Answers.AnswerUnits
The object that holds the answer units of a source document. 
 | 
| Constructor and Description | 
|---|
Answers()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Answers.AnswerUnits> | 
getAnswerUnits()
Gets the list of answer units. 
 | 
String | 
getSourceDocumentId()
Gets the source document id. 
 | 
Date | 
getTimestamp()
Gets the time stamp of the answer. 
 | 
void | 
setAnswerUnits(List<Answers.AnswerUnits> answerUnits)
Sets the list of answer units. 
 | 
void | 
setSourceDocumentId(String sourceDocumentId)
Sets the source document id. 
 | 
void | 
setTimestamp(Date timestamp)
Sets the timestamp of the answwer. 
 | 
equals, hashCode, toStringpublic List<Answers.AnswerUnits> getAnswerUnits()
public String getSourceDocumentId()
public Date getTimestamp()
public void setAnswerUnits(List<Answers.AnswerUnits> answerUnits)
answerUnits - The list of answer unitspublic void setSourceDocumentId(String sourceDocumentId)
sourceDocumentId - The id of the source documentpublic void setTimestamp(Date timestamp)
timestamp - the new timestampCopyright © 2015–2016 IBM Watson. All rights reserved.