Package org.spincast.website.models
Class NewsEntryDefault
java.lang.Object
org.spincast.website.models.NewsEntryDefault
- All Implemented Interfaces:
NewsEntry
Spincast news entry implementation.
-
Constructor Summary
ConstructorDescriptionNewsEntryDefault
(long id, Date publishedDate, String title, String description) Constructor -
Method Summary
-
Constructor Details
-
NewsEntryDefault
Constructor
-
-
Method Details
-
getId
public long getId()Description copied from interface:NewsEntry
The news entry's id -
getPublishedDate
Description copied from interface:NewsEntry
The published date- Specified by:
getPublishedDate
in interfaceNewsEntry
-
getTitle
Description copied from interface:NewsEntry
The title of the news entry. -
getDescription
Description copied from interface:NewsEntry
The description of the news entry.- Specified by:
getDescription
in interfaceNewsEntry
-
toString
-