public class Document extends GenericModel
AlchemyDataNews
service.Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the id.
|
Source |
getSource()
Gets the source.
|
Date |
getTimestamp()
Gets the timestamp.
|
void |
setId(String id)
Sets the id.
|
void |
setSource(Source source)
Sets the source.
|
void |
setTimestamp(Date timestamp)
Sets the timestamp.
|
equals, hashCode, toString
public String getId()
public Source getSource()
public Date getTimestamp()
public void setId(String id)
id
- The idpublic void setSource(Source source)
source
- The sourcepublic void setTimestamp(Date timestamp)
timestamp
- The timestampCopyright © 2015–2016 IBM Watson. All rights reserved.