public class Document extends GenericModel
AlchemyDataNews service.| Constructor and Description |
|---|
Document() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets the id.
|
Source |
getSource()
Gets the source.
|
java.util.Date |
getTimestamp()
Gets the timestamp.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setSource(Source source)
Sets the source.
|
void |
setTimestamp(java.util.Date timestamp)
Sets the timestamp.
|
equals, hashCode, toStringpublic java.lang.String getId()
public Source getSource()
public java.util.Date getTimestamp()
public void setId(java.lang.String id)
id - The idpublic void setSource(Source source)
source - The sourcepublic void setTimestamp(java.util.Date timestamp)
timestamp - The timestamp