com.sun.syndication.feed.atom
Class Entry

java.lang.Object
  extended bycom.sun.syndication.common.ObjectBean
      extended bycom.sun.syndication.feed.atom.Entry
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, ToString

public class Entry
extends ObjectBean

Bean for entry elements of Atom feeds.

Author:
Alejandro Abdelnur
See Also:
Serialized Form

Constructor Summary
Entry()
          Default constructor.
 
Method Summary
 java.util.List getAlternateLinks()
          Returns the entry alternate links.
 Person getAuthor()
          Returns the entry author.
 java.util.List getContents()
          Returns the entry contents.
 java.util.List getContributors()
          Returns the entry contributors.
 java.util.Date getCreated()
          Returns the entry created date.
 java.lang.String getId()
          Returns the entry ID.
 java.util.Date getIssued()
          Returns the entry issued date.
 java.util.Date getModified()
          Returns the entry modified date.
 Module getModule(java.lang.String uri)
          Returns the module identified by a given URI.
 java.util.List getModules()
          Returns the entry modules.
 java.util.List getOtherLinks()
          Returns the entry non-alternate links.
 Content getSummary()
          Returns the entry summary.
 java.lang.String getTitle()
          Returns the entry title.
 void setAlternateLinks(java.util.List alternateLinks)
          Sets the entry alternate links.
 void setAuthor(Person author)
          Sets the author of the entry.
 void setContents(java.util.List contents)
          Sets the entry contents.
 void setContributors(java.util.List contributors)
          Sets the entry contributors.
 void setCreated(java.util.Date created)
          Sets the entry created date.
 void setId(java.lang.String id)
          Sets the entry ID.
 void setIssued(java.util.Date issued)
          Sets the entry issued date.
 void setModified(java.util.Date modified)
          Sets the entry modified date.
 void setModules(java.util.List modules)
          Sets the entry modules.
 void setOtherLinks(java.util.List otherLinks)
          Sets the entry non-alternate links.
 void setSummary(Content summary)
          Sets the entry summary.
 void setTitle(java.lang.String title)
          Sets the entry title.
 
Methods inherited from class com.sun.syndication.common.ObjectBean
clone, equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Entry

public Entry()
Default constructor. All properties are set to null.

Method Detail

getTitle

public java.lang.String getTitle()
Returns the entry title.

Returns:
the entry title, null if none.

setTitle

public void setTitle(java.lang.String title)
Sets the entry title.

Parameters:
title - the entry title, null if none.

getAlternateLinks

public java.util.List getAlternateLinks()
Returns the entry alternate links.

Returns:
a list of Link elements with the entry alternate links, an empty list if none.

setAlternateLinks

public void setAlternateLinks(java.util.List alternateLinks)
Sets the entry alternate links.

Parameters:
alternateLinks - the list of Link elements with the entry alternate links to set, an empty list or null if none.

getOtherLinks

public java.util.List getOtherLinks()
Returns the entry non-alternate links.

Returns:
the list of Link elements with the entry non-alternate links to set, an empty list if none.

setOtherLinks

public void setOtherLinks(java.util.List otherLinks)
Sets the entry non-alternate links.

Parameters:
otherLinks - the list Link elements with the entry non-alternate links to set, an empty list or null if none.

getAuthor

public Person getAuthor()
Returns the entry author.

Returns:
the entry author, null if none.

setAuthor

public void setAuthor(Person author)
Sets the author of the entry.

Parameters:
author - the author of the entry, null if none.

getContributors

public java.util.List getContributors()
Returns the entry contributors.

Returns:
a list of Person elements with the entry contributors, an empty list if none.

setContributors

public void setContributors(java.util.List contributors)
Sets the entry contributors.

Parameters:
contributors - the list of Person elements with the entry contributors to set, an empty list or null if none.

getId

public java.lang.String getId()
Returns the entry ID.

Returns:
the entry ID, null if none.

setId

public void setId(java.lang.String id)
Sets the entry ID.

Parameters:
id - the entry ID, null if none.

getModified

public java.util.Date getModified()
Returns the entry modified date.

Returns:
the entry modified date, null if none.

setModified

public void setModified(java.util.Date modified)
Sets the entry modified date.

Parameters:
modified - the entry modified date, null if none.

getIssued

public java.util.Date getIssued()
Returns the entry issued date.

Returns:
the entry issued date, null if none.

setIssued

public void setIssued(java.util.Date issued)
Sets the entry issued date.

Parameters:
issued - the entry issued date, null if none.

getCreated

public java.util.Date getCreated()
Returns the entry created date.

Returns:
the entry created date, null if none.

setCreated

public void setCreated(java.util.Date created)
Sets the entry created date.

Parameters:
created - the entry created date, null if none.

getSummary

public Content getSummary()
Returns the entry summary.

Returns:
the entry summary, null if none.

setSummary

public void setSummary(Content summary)
Sets the entry summary.

Parameters:
summary - the entry summary, null if none.

getContents

public java.util.List getContents()
Returns the entry contents.

Returns:
a list of Content elements with the entry contents, an empty list if none.

setContents

public void setContents(java.util.List contents)
Sets the entry contents.

Parameters:
contents - the list of Content elements with the entry contents to set, an empty list or null if none.

getModules

public java.util.List getModules()
Returns the entry modules.

Returns:
a list of ModuleImpl elements with the entry modules, an emtpy list if none.

setModules

public void setModules(java.util.List modules)
Sets the entry modules.

Parameters:
modules - the list of ModuleImpl elements with the entry modules to set, an empty list or null if none.

getModule

public Module getModule(java.lang.String uri)
Returns the module identified by a given URI.

Parameters:
uri - the URI of the ModuleImpl.
Returns:
The module with the given URI, null if none.


Copyright © 2004 Sun Microsystems. All Rights Reserved.