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 NewsSource
public void setId(Long id)
setId
in interface NewsSource
public String getName()
getName
in interface NewsSource
public void setName(String name)
setName
in interface NewsSource
name
- the name to set for this feed. It is not displayed to end users.public String getUrl()
getUrl
in interface NewsSource
public void setUrl(String url)
setUrl
in interface NewsSource
url
- the URL of the feedpublic boolean isActive()
isActive
in interface NewsSource
public void setActive(boolean active)
setActive
in interface NewsSource
active
- set this feed active or inactivepublic int getOrder()
getOrder
in interface NewsSource
public void setOrder(int order)
setOrder
in interface NewsSource
order
- the display orderpublic Long getParentId()
getParentId
in interface NewsSource
public void setParentId(Long parentId)
setParentId
in interface NewsSource
public String getTitle()
getTitle
in interface NewsSource
public void setTitle(String title)
setTitle
in interface NewsSource
title
- the title to setpublic String getAuthor()
getAuthor
in interface NewsSource
public void setAuthor(String author)
setAuthor
in interface NewsSource
author
- the author to setpublic String getDescription()
getDescription
in interface NewsSource
public void setDescription(String description)
setDescription
in interface NewsSource
description
- the description to setpublic List<NewsArticleImpl> getArticles()
getArticles
in interface NewsSource
public void setArticles(List<? extends NewsArticle> articles)
setArticles
in interface NewsSource
articles
- the articles to setpublic List<NewsSourceImpl> getChildren()
getChildren
in interface NewsSource
public void setChildren(List<? extends NewsSource> children)
setChildren
in interface NewsSource
children
- the children to setpublic void addChild(NewsSource child)
addChild
in interface NewsSource
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.