Class NewsFeed
java.lang.Object
org.jasig.portlet.newsreader.model.NewsFeed
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PaginatingNewsFeed
NewsFeed class.
- Since:
- 5.1.1
- Author:
- bgonzalez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for the fieldauthor.Getter for the fieldcopyright.Getter for the fieldentries.getLink()Getter for the fieldlink.getTitle()Getter for the fieldtitle.inthashCode()voidSetter for the fieldauthor.voidsetCopyright(String copyright) Setter for the fieldcopyright.voidsetEntries(List<NewsFeedItem> entries) Setter for the fieldentries.voidSetter for the fieldlink.voidSetter for the fieldtitle.toString()
-
Constructor Details
-
NewsFeed
public NewsFeed()
-
-
Method Details
-
getEntries
Getter for the field
entries.- Returns:
- a
Listobject
-
setEntries
Setter for the field
entries.- Parameters:
entries- aListobject
-
getAuthor
Getter for the field
author.- Returns:
- a
Stringobject
-
setAuthor
Setter for the field
author.- Parameters:
author- aStringobject
-
getLink
Getter for the field
link.- Returns:
- a
Stringobject
-
setLink
Setter for the field
link.- Parameters:
link- aStringobject
-
getTitle
Getter for the field
title.- Returns:
- a
Stringobject
-
setTitle
Setter for the field
title.- Parameters:
title- aStringobject
-
getCopyright
Getter for the field
copyright.- Returns:
- a
Stringobject
-
setCopyright
Setter for the field
copyright.- Parameters:
copyright- aStringobject
-
equals
-
hashCode
public int hashCode() -
toString
-