org.apache.wink.common.model.synd
Class SyndBase

java.lang.Object
  extended by org.apache.wink.common.model.synd.SyndCommonAttributes
      extended by org.apache.wink.common.model.synd.SyndBase
Direct Known Subclasses:
SyndEntry, SyndFeed

public abstract class SyndBase
extends SyndCommonAttributes


Constructor Summary
SyndBase()
           
SyndBase(java.lang.String id, SyndText title, java.util.Date updated)
           
SyndBase(SyndBase other)
           
 
Method Summary
 void addAuthor(SyndPerson author)
          Add an author to the list of authors.
 void addCategory(SyndCategory category)
          Add a category to the list of categories.
 void addLink(SyndLink link)
          Add a link to the list of links.
 boolean equals(java.lang.Object obj)
           
 java.util.List<SyndPerson> getAuthors()
           
 java.util.List<SyndCategory> getCategories()
           
 java.lang.String getId()
           
 SyndLink getLink(java.lang.String rel)
           
 java.util.List<SyndLink> getLinks()
           
 SyndText getTitle()
           
 java.util.Date getUpdated()
           
 int hashCode()
           
 void setId(java.lang.String id)
           
 void setTitle(SyndText title)
           
 void setUpdated(java.util.Date updated)
           
 
Methods inherited from class org.apache.wink.common.model.synd.SyndCommonAttributes
getBase, getLang, setBase, setLang
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyndBase

public SyndBase()

SyndBase

public SyndBase(java.lang.String id,
                SyndText title,
                java.util.Date updated)

SyndBase

public SyndBase(SyndBase other)
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

addLink

public void addLink(SyndLink link)
Add a link to the list of links. This is a shortcut for getLinks().add(link).


getLinks

public java.util.List<SyndLink> getLinks()

getLink

public SyndLink getLink(java.lang.String rel)

addAuthor

public void addAuthor(SyndPerson author)
Add an author to the list of authors. This is a shortcut for getAuthors().add(author).


getAuthors

public java.util.List<SyndPerson> getAuthors()

addCategory

public void addCategory(SyndCategory category)
Add a category to the list of categories. This is a shortcut for getCategories().add(category).


getCategories

public java.util.List<SyndCategory> getCategories()

getTitle

public SyndText getTitle()

setTitle

public void setTitle(SyndText title)

getUpdated

public java.util.Date getUpdated()

setUpdated

public void setUpdated(java.util.Date updated)

hashCode

public int hashCode()
Overrides:
hashCode in class SyndCommonAttributes

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class SyndCommonAttributes


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.