public interface INewsMessage extends IMessage
INewsFilter
Modifier and Type | Interface and Description |
---|---|
static class |
INewsMessage.Action
Actions
|
IMessage.Reason, IMessage.Type
Modifier and Type | Method and Description |
---|---|
INewsMessage.Action |
getAction()
Returns action
|
String |
getCopyright()
Returns copyright
|
long |
getCreationTime()
Returns time when message was published
|
Set<String> |
getCurrencies()
Returns ISO 4217 currency codes
|
Set<String> |
getGeoRegions()
Returns geo regions
|
String |
getHeader()
Returns header
|
String |
getId()
Returns ID
|
Set<String> |
getMarketSectors()
Returns market sectors
|
long |
getPublishDate()
Returns publish date
|
Set<String> |
getStockIndicies()
Returns stock indices
|
boolean |
isEndOfStory() |
boolean |
isHot() |
getContent, getOrder, getReasons, getType
INewsMessage.Action getAction()
INewsMessage.Action
long getPublishDate()
boolean isEndOfStory()
boolean isHot()
Set<String> getCurrencies()
Set
of String
- can be interpreted using INewsFilter.Currency
's valueOf()
method (only limited amount of currencies) or JFCurrency.getInstance(String)
(preferred)Set<String> getGeoRegions()
Set
of String
- can be interpreted using INewsFilter.Country
's valueOf() methodSet<String> getMarketSectors()
Set
of String
- can be interpreted using INewsFilter.MarketSector
's valueOf() methodSet<String> getStockIndicies()
Set
of String
- can be interpreted using INewsFilter.StockIndex
's valueOf() methodlong getCreationTime()
getCreationTime
in interface IMessage
Copyright © 2016. All rights reserved.