public class NewsArticleImpl extends Object implements Serializable, Comparable<NewsArticle>, NewsArticle
Constructor and Description |
---|
NewsArticleImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NewsArticle arg0) |
NewsArticle |
copy() |
String |
getArticleId() |
String |
getDescription() |
String |
getLink() |
Date |
getPublishDate() |
String |
getPublishDateDisplay() |
long |
getSourceId() |
String |
getTitle() |
void |
setArticleId(String articleId) |
void |
setDescription(String description) |
void |
setLink(String link) |
void |
setPublishDate(Date publishDate) |
void |
setPublishDateDisplay(String publishDateDisplay) |
void |
setSourceId(long sourceId) |
void |
setTitle(String title) |
public NewsArticleImpl()
public NewsArticle copy()
copy
in interface NewsArticle
public String getPublishDateDisplay()
getPublishDateDisplay
in interface NewsArticle
public void setPublishDateDisplay(String publishDateDisplay)
public int compareTo(NewsArticle arg0)
compareTo
in interface Comparable<NewsArticle>
compareTo
in interface NewsArticle
public String getTitle()
getTitle
in interface NewsArticle
public void setTitle(String title)
setTitle
in interface NewsArticle
title
- the title to setpublic String getLink()
getLink
in interface NewsArticle
public void setLink(String link)
setLink
in interface NewsArticle
link
- the URL to the full articlepublic String getDescription()
getDescription
in interface NewsArticle
public void setDescription(String description)
setDescription
in interface NewsArticle
description
- the body text to setpublic Date getPublishDate()
getPublishDate
in interface NewsArticle
public void setPublishDate(Date publishDate)
setPublishDate
in interface NewsArticle
publishDate
- the publish date to setpublic String getArticleId()
getArticleId
in interface NewsArticle
public void setArticleId(String articleId)
setArticleId
in interface NewsArticle
articleId
- the article id to setpublic long getSourceId()
getSourceId
in interface NewsArticle
public void setSourceId(long sourceId)
setSourceId
in interface NewsArticle
sourceId
- the id of the NewsSource to which this article belongsCopyright © 2011-2014 The Kuali Foundation. All Rights Reserved.