public class NewsAttributes extends ExtensionMetadata
Modifier and Type | Class and Description |
---|---|
static class |
NewsAttributes.NewsGenre |
Constructor and Description |
---|
NewsAttributes() |
NewsAttributes(String name,
String language,
java.time.ZonedDateTime publicationDate,
String title) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
NewsAttributes.NewsGenre[] |
getGenres() |
String[] |
getKeywords() |
String |
getLanguage() |
String |
getName() |
Date |
getPublicationDate() |
java.time.ZonedDateTime |
getPublicationDateTime() |
String[] |
getStockTickers() |
String |
getTitle() |
boolean |
isValid() |
void |
setGenres(NewsAttributes.NewsGenre[] genres) |
void |
setKeywords(String[] keywords) |
void |
setLanguage(String language) |
void |
setName(String name) |
void |
setPublicationDate(java.time.ZonedDateTime publicationDate) |
void |
setStockTickers(String[] stockTickers) |
void |
setTitle(String title) |
String |
toString() |
public String getName()
public void setName(String name)
public String getLanguage()
public void setLanguage(String language)
public NewsAttributes.NewsGenre[] getGenres()
public void setGenres(NewsAttributes.NewsGenre[] genres)
public Date getPublicationDate()
public java.time.ZonedDateTime getPublicationDateTime()
public void setPublicationDate(java.time.ZonedDateTime publicationDate)
public String getTitle()
public void setTitle(String title)
public String[] getKeywords()
public void setKeywords(String[] keywords)
public String[] getStockTickers()
public void setStockTickers(String[] stockTickers)
public boolean equals(Object other)
equals
in class ExtensionMetadata
public boolean isValid()
isValid
in class ExtensionMetadata
Copyright © 2009–2019 Crawler-Commons. All rights reserved.