public class NewsSourceImpl extends Object implements NewsSource
| Constructor and Description |
|---|
NewsSourceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(NewsSource child) |
List<NewsArticleImpl> |
getArticles() |
String |
getAuthor() |
List<NewsSourceImpl> |
getChildren() |
String |
getDescription() |
Long |
getId() |
String |
getName() |
int |
getOrder() |
Long |
getParentId() |
String |
getTitle() |
String |
getUrl() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setArticles(List<? extends NewsArticle> articles) |
void |
setAuthor(String author) |
void |
setChildren(List<? extends NewsSource> children) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setOrder(int order) |
void |
setParentId(Long parentId) |
void |
setTitle(String title) |
void |
setUrl(String url) |
public NewsSourceImpl()
public Long getId()
getId in interface NewsSourcepublic void setId(Long id)
setId in interface NewsSourcepublic String getName()
getName in interface NewsSourcepublic void setName(String name)
setName in interface NewsSourcename - the name to set for this feed. It is not displayed to end users.public String getUrl()
getUrl in interface NewsSourcepublic void setUrl(String url)
setUrl in interface NewsSourceurl - the URL of the feedpublic boolean isActive()
isActive in interface NewsSourcepublic void setActive(boolean active)
setActive in interface NewsSourceactive - set this feed active or inactivepublic int getOrder()
getOrder in interface NewsSourcepublic void setOrder(int order)
setOrder in interface NewsSourceorder - the display orderpublic Long getParentId()
getParentId in interface NewsSourcepublic void setParentId(Long parentId)
setParentId in interface NewsSourcepublic String getTitle()
getTitle in interface NewsSourcepublic void setTitle(String title)
setTitle in interface NewsSourcetitle - the title to setpublic String getAuthor()
getAuthor in interface NewsSourcepublic void setAuthor(String author)
setAuthor in interface NewsSourceauthor - the author to setpublic String getDescription()
getDescription in interface NewsSourcepublic void setDescription(String description)
setDescription in interface NewsSourcedescription - the description to setpublic List<NewsArticleImpl> getArticles()
getArticles in interface NewsSourcepublic void setArticles(List<? extends NewsArticle> articles)
setArticles in interface NewsSourcearticles - the articles to setpublic List<NewsSourceImpl> getChildren()
getChildren in interface NewsSourcepublic void setChildren(List<? extends NewsSource> children)
setChildren in interface NewsSourcechildren - the children to setpublic void addChild(NewsSource child)
addChild in interface NewsSourceCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.