org.apache.wink.common.model.synd
Class SyndBase
java.lang.Object
org.apache.wink.common.model.synd.SyndCommonAttributes
org.apache.wink.common.model.synd.SyndBase
- Direct Known Subclasses:
- SyndEntry, SyndFeed
public abstract class SyndBase
- extends SyndCommonAttributes
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SyndBase
public SyndBase()
SyndBase
public SyndBase(java.lang.String id,
SyndText title,
java.util.Date updated)
SyndBase
public SyndBase(SyndBase other)
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 The Apache Software Foundation. All Rights Reserved.