| Constructor and Description |
|---|
NewsEntryDefault(long id,
Date publishedDate,
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
|
Date |
getPublishedDate()
The published date
|
String |
getTitle()
The title of the news entry.
|
String |
toString() |
public long getId()
NewsEntrypublic Date getPublishedDate()
NewsEntrygetPublishedDate in interface NewsEntrypublic String getTitle()
NewsEntrypublic String getDescription()
NewsEntrygetDescription in interface NewsEntryCopyright © 2018. All rights reserved.