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
SyndBase
public SyndBase()
SyndBase
public SyndBase(String id,
SyndText title,
Date updated)
SyndBase
public SyndBase(SyndBase other)
getId
public String getId()
setId
public void setId(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 List<SyndLink> getLinks()
getLink
public SyndLink getLink(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 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 List<SyndCategory> getCategories()
getTitle
public SyndText getTitle()
setTitle
public void setTitle(SyndText title)
getUpdated
public Date getUpdated()
setUpdated
public void setUpdated(Date updated)
hashCode
public int hashCode()
- Overrides:
hashCode
in class SyndCommonAttributes
equals
public boolean equals(Object obj)
- Overrides:
equals
in class SyndCommonAttributes
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.