Class NewsFeed

java.lang.Object
org.jasig.portlet.newsreader.model.NewsFeed
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PaginatingNewsFeed

public class NewsFeed extends Object implements Serializable

NewsFeed class.

Since:
5.1.1
Author:
bgonzalez
See Also:
  • Constructor Details

    • NewsFeed

      public NewsFeed()
  • Method Details

    • getEntries

      public List<NewsFeedItem> getEntries()

      Getter for the field entries.

      Returns:
      a List object
    • setEntries

      public void setEntries(List<NewsFeedItem> entries)

      Setter for the field entries.

      Parameters:
      entries - a List object
    • getAuthor

      public String getAuthor()

      Getter for the field author.

      Returns:
      a String object
    • setAuthor

      public void setAuthor(String author)

      Setter for the field author.

      Parameters:
      author - a String object
    • getLink

      public String getLink()

      Getter for the field link.

      Returns:
      a String object
    • setLink

      public void setLink(String link)

      Setter for the field link.

      Parameters:
      link - a String object
    • getTitle

      public String getTitle()

      Getter for the field title.

      Returns:
      a String object
    • setTitle

      public void setTitle(String title)

      Setter for the field title.

      Parameters:
      title - a String object
    • getCopyright

      public String getCopyright()

      Getter for the field copyright.

      Returns:
      a String object
    • setCopyright

      public void setCopyright(String copyright)

      Setter for the field copyright.

      Parameters:
      copyright - a String object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object