public class Article extends GenericModel
AlchemyDataNews
service.Modifier and Type | Class and Description |
---|---|
static class |
Article.EnrichedTitle
EnrichedTitle returned from
AlchemyDataNews.getNewsDocuments(java.util.Map) . |
Constructor and Description |
---|
Article() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Gets the author.
|
String |
getCleanedTitle()
Gets the cleaned title.
|
List<Concept> |
getConcepts()
Gets the concepts.
|
Article.EnrichedTitle |
getEnrichedTitle()
Gets the enriched title.
|
List<Entity> |
getEntities()
Gets the entities.
|
List<Feed> |
getFeeds()
Gets the feeds.
|
String |
getImage()
Gets the image.
|
List<ImageKeyword> |
getImageKeywords()
Gets the image keywords.
|
List<Keyword> |
getKeywords()
Gets the keywords.
|
String |
getLanguage()
Gets the language.
|
PublicationDate |
getPublicationDate()
Gets the publication date.
|
List<SAORelation> |
getRelations()
Gets the relations.
|
Sentiment |
getSentiment()
Gets the sentiment.
|
List<Taxonomy> |
getTaxonomy()
Gets the taxonomy.
|
String |
getText()
Gets the text.
|
String |
getTitle()
Gets the title.
|
String |
getUrl()
Gets the url.
|
void |
setAuthor(String author)
Sets the author.
|
void |
setCleanedTitle(String cleanedTitle)
Sets the cleaned title.
|
void |
setConcepts(List<Concept> concepts)
Sets the concepts.
|
void |
setEnrichedTitle(Article.EnrichedTitle enrichedTitle)
Sets the enriched title.
|
void |
setEntities(List<Entity> entities)
Sets the entities.
|
void |
setFeeds(List<Feed> feeds)
Sets the feeds.
|
void |
setImage(String image)
Sets the image.
|
void |
setImageKeywords(List<ImageKeyword> imageKeywords)
Sets the image keywords.
|
void |
setKeywords(List<Keyword> keywords)
Sets the keywords.
|
void |
setLanguage(String language)
Sets the language.
|
void |
setPublicationDate(PublicationDate publicationDate)
Sets the publication date.
|
void |
setRelations(List<SAORelation> relations)
Sets the relations.
|
void |
setSentiment(Sentiment sentiment)
Sets the sentiment.
|
void |
setTaxonomy(List<Taxonomy> taxonomy)
Sets the taxonomy.
|
void |
setText(String text)
Sets the text.
|
void |
setTitle(String title)
Sets the title.
|
void |
setUrl(String url)
Sets the url.
|
equals, hashCode, toString
public String getAuthor()
public String getCleanedTitle()
public Article.EnrichedTitle getEnrichedTitle()
public String getImage()
public List<ImageKeyword> getImageKeywords()
public String getLanguage()
public PublicationDate getPublicationDate()
public List<SAORelation> getRelations()
public Sentiment getSentiment()
public String getText()
public String getTitle()
public String getUrl()
public void setAuthor(String author)
author
- the new authorpublic void setCleanedTitle(String cleanedTitle)
cleanedTitle
- the new cleaned titlepublic void setConcepts(List<Concept> concepts)
concepts
- the new conceptspublic void setEnrichedTitle(Article.EnrichedTitle enrichedTitle)
enrichedTitle
- the new enriched titlepublic void setEntities(List<Entity> entities)
entities
- the new entitiespublic void setImage(String image)
image
- the new imagepublic void setImageKeywords(List<ImageKeyword> imageKeywords)
imageKeywords
- the new image keywordspublic void setKeywords(List<Keyword> keywords)
keywords
- the new keywordspublic void setLanguage(String language)
language
- the new languagepublic void setPublicationDate(PublicationDate publicationDate)
publicationDate
- the new publication datepublic void setRelations(List<SAORelation> relations)
relations
- the new relationspublic void setSentiment(Sentiment sentiment)
sentiment
- the new sentimentpublic void setTaxonomy(List<Taxonomy> taxonomy)
taxonomy
- the new taxonomypublic void setText(String text)
text
- the new textpublic void setTitle(String title)
title
- the new titlepublic void setUrl(String url)
url
- the new urlCopyright © 2015–2016 IBM Watson. All rights reserved.