public class NewsEntry extends Object implements INewsEntry
| Constructor and Description |
|---|
NewsEntry(long id,
String publishedDateISO,
String title,
String description)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
The description of the news entry.
|
long |
getId()
The news entry's id
|
String |
getPublishedDate()
The published date, format: "YYYY-MM-DD HH:mm"
|
String |
getTitle()
The title of the news entry.
|
String |
toString() |
public long getId()
INewsEntrygetId in interface INewsEntrypublic String getPublishedDate()
INewsEntrygetPublishedDate in interface INewsEntrypublic String getTitle()
INewsEntrygetTitle in interface INewsEntrypublic String getDescription()
INewsEntrygetDescription in interface INewsEntryCopyright © 2016. All rights reserved.