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 |
---|---|
java.lang.String |
getAuthor()
Gets the author.
|
java.lang.String |
getCleanedTitle()
Gets the cleaned title.
|
java.util.List<Concept> |
getConcepts()
Gets the concepts.
|
Article.EnrichedTitle |
getEnrichedTitle()
Gets the enriched title.
|
java.util.List<Entity> |
getEntities()
Gets the entities.
|
java.util.List<Feed> |
getFeeds()
Gets the feeds.
|
java.lang.String |
getImage()
Gets the image.
|
java.util.List<ImageKeyword> |
getImageKeywords()
Gets the image keywords.
|
java.util.List<Keyword> |
getKeywords()
Gets the keywords.
|
java.lang.String |
getLanguage()
Gets the language.
|
PublicationDate |
getPublicationDate()
Gets the publication date.
|
java.util.List<SAORelation> |
getRelations()
Gets the relations.
|
Sentiment |
getSentiment()
Gets the sentiment.
|
java.util.List<Taxonomy> |
getTaxonomy()
Gets the taxonomy.
|
java.lang.String |
getText()
Gets the text.
|
java.lang.String |
getTitle()
Gets the title.
|
java.lang.String |
getUrl()
Gets the url.
|
void |
setAuthor(java.lang.String author)
Sets the author.
|
void |
setCleanedTitle(java.lang.String cleanedTitle)
Sets the cleaned title.
|
void |
setConcepts(java.util.List<Concept> concepts)
Sets the concepts.
|
void |
setEnrichedTitle(Article.EnrichedTitle enrichedTitle)
Sets the enriched title.
|
void |
setEntities(java.util.List<Entity> entities)
Sets the entities.
|
void |
setFeeds(java.util.List<Feed> feeds)
Sets the feeds.
|
void |
setImage(java.lang.String image)
Sets the image.
|
void |
setImageKeywords(java.util.List<ImageKeyword> imageKeywords)
Sets the image keywords.
|
void |
setKeywords(java.util.List<Keyword> keywords)
Sets the keywords.
|
void |
setLanguage(java.lang.String language)
Sets the language.
|
void |
setPublicationDate(PublicationDate publicationDate)
Sets the publication date.
|
void |
setRelations(java.util.List<SAORelation> relations)
Sets the relations.
|
void |
setSentiment(Sentiment sentiment)
Sets the sentiment.
|
void |
setTaxonomy(java.util.List<Taxonomy> taxonomy)
Sets the taxonomy.
|
void |
setText(java.lang.String text)
Sets the text.
|
void |
setTitle(java.lang.String title)
Sets the title.
|
void |
setUrl(java.lang.String url)
Sets the url.
|
equals, hashCode, toString
public java.lang.String getAuthor()
public java.lang.String getCleanedTitle()
public java.util.List<Concept> getConcepts()
public Article.EnrichedTitle getEnrichedTitle()
public java.util.List<Entity> getEntities()
public java.util.List<Feed> getFeeds()
public java.lang.String getImage()
public java.util.List<ImageKeyword> getImageKeywords()
public java.util.List<Keyword> getKeywords()
public java.lang.String getLanguage()
public PublicationDate getPublicationDate()
public java.util.List<SAORelation> getRelations()
public Sentiment getSentiment()
public java.util.List<Taxonomy> getTaxonomy()
public java.lang.String getText()
public java.lang.String getTitle()
public java.lang.String getUrl()
public void setAuthor(java.lang.String author)
author
- the new authorpublic void setCleanedTitle(java.lang.String cleanedTitle)
cleanedTitle
- the new cleaned titlepublic void setConcepts(java.util.List<Concept> concepts)
concepts
- the new conceptspublic void setEnrichedTitle(Article.EnrichedTitle enrichedTitle)
enrichedTitle
- the new enriched titlepublic void setEntities(java.util.List<Entity> entities)
entities
- the new entitiespublic void setFeeds(java.util.List<Feed> feeds)
feeds
- the new feedspublic void setImage(java.lang.String image)
image
- the new imagepublic void setImageKeywords(java.util.List<ImageKeyword> imageKeywords)
imageKeywords
- the new image keywordspublic void setKeywords(java.util.List<Keyword> keywords)
keywords
- the new keywordspublic void setLanguage(java.lang.String language)
language
- the new languagepublic void setPublicationDate(PublicationDate publicationDate)
publicationDate
- the new publication datepublic void setRelations(java.util.List<SAORelation> relations)
relations
- the new relationspublic void setSentiment(Sentiment sentiment)
sentiment
- the new sentimentpublic void setTaxonomy(java.util.List<Taxonomy> taxonomy)
taxonomy
- the new taxonomypublic void setText(java.lang.String text)
text
- the new textpublic void setTitle(java.lang.String title)
title
- the new titlepublic void setUrl(java.lang.String url)
url
- the new url