public class Dates extends AlchemyLanguageGenericModel
AlchemyLanguage.getDates(java.util.Map)
method.Modifier and Type | Class and Description |
---|---|
static class |
Dates.ExtractedDate
The date along with the text from where the date was extracted.
|
Constructor and Description |
---|
Dates() |
Modifier and Type | Method and Description |
---|---|
List<Dates.ExtractedDate> |
getDates()
Gets the dates.
|
String |
getText()
Gets the text.
|
void |
setDates(List<Dates.ExtractedDate> dates)
Sets the dates.
|
void |
setText(String text)
Sets the text.
|
getLanguage, getUrl, setLanguage, setUrl
getTotalTransactions, setTotalTransactions
equals, hashCode, toString
public List<Dates.ExtractedDate> getDates()
public String getText()
public void setDates(List<Dates.ExtractedDate> dates)
dates
- the new datespublic void setText(String text)
text
- the new textCopyright © 2015–2016 IBM Watson. All rights reserved.