Class Entry


@Bean(typeName="entry") public class Entry extends CommonEntry
Represents an atomEntry construct in the RFC4287 specification.
Schema

atomEntry = element atom:entry { atomCommonAttributes, (atomAuthor* & atomCategory* & atomContent? & atomContributor* & atomId & atomLink* & atomPublished? & atomRights? & atomSource? & atomSummary? & atomTitle & atomUpdated & extensionElement*) }

See Also:
  • Constructor Details

    • Entry

      public Entry(Id id, Text title, Calendar updated)
      Normal constructor.
      Parameters:
      id - The ID of this entry.
      title - The title of this entry.
      updated - The updated timestamp of this entry.
    • Entry

      public Entry(String id, String title, String updated)
      Normal constructor.
      Parameters:
      id - The ID of this entry.
      title - The title of this entry.
      updated - The updated timestamp of this entry.
    • Entry

      public Entry()
      Bean constructor.
  • Method Details

    • getContent

      public Content getContent()
      Bean property getter: content.

      The content of this entry.

      Returns:
      The property value, or null if it is not set.
    • setContent

      public Entry setContent(Content value)
      Bean property setter: content.

      The content of this entry.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • getPublished

      Bean property getter: published.

      The publish timestamp of this entry.

      Returns:
      The property value, or null if it is not set.
    • setPublished

      public Entry setPublished(Calendar value)
      Bean property setter: published.

      The publish timestamp of this entry.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setPublished

      public Entry setPublished(String value)
      Bean property fluent setter: published.

      The publish timestamp of this entry.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object.
    • getSource

      public Source getSource()
      Bean property getter: source.

      The source of this entry.

      Returns:
      The property value, or null if it is not set.
    • setSource

      public Entry setSource(Source value)
      Bean property setter: source.

      The source of this entry.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • getSummary

      public Text getSummary()
      Bean property getter: summary.

      The summary of this entry.

      Returns:
      The property value, or null if it is not set.
    • setSummary

      public Entry setSummary(Text value)
      Bean property setter: summary.

      The summary of this entry.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setSummary

      public Entry setSummary(String value)
      Bean property fluent setter: summary.

      The summary of this entry.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object.
    • setBase

      public Entry setBase(Object value)
      Description copied from class: Common
      Bean property setter: term.

      The URI base of this object.

      The value can be of any of the following types: URI, URL, String. Strings must be valid URIs.

      Overrides:
      setBase in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setLang

      public Entry setLang(String value)
      Description copied from class: Common
      Bean property setter: lang.

      The language of this object.

      Overrides:
      setLang in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setAuthors

      public Entry setAuthors(Person... value)
      Description copied from class: CommonEntry
      Bean property setter: authors.

      The list of authors for this object.

      Overrides:
      setAuthors in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setCategories

      public Entry setCategories(Category... value)
      Description copied from class: CommonEntry
      Bean property setter: categories.

      The list of categories of this object.

      Overrides:
      setCategories in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setContributors

      public Entry setContributors(Person... value)
      Description copied from class: CommonEntry
      Bean property setter: contributors.

      The list of contributors of this object.

      Overrides:
      setContributors in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setId

      public Entry setId(String value)
      Description copied from class: CommonEntry
      Bean property fluent setter: id.

      The ID of this object.

      Overrides:
      setId in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object.
    • setId

      public Entry setId(Id value)
      Description copied from class: CommonEntry
      Bean property setter: id.

      The ID of this object.

      Overrides:
      setId in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setLinks

      public Entry setLinks(Link... value)
      Description copied from class: CommonEntry
      Bean property setter: links.

      The list of links of this object.

      Overrides:
      setLinks in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setRights

      public Entry setRights(String value)
      Description copied from class: CommonEntry
      Bean property fluent setter: rights.

      The rights statement of this object.

      Overrides:
      setRights in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object.
    • setRights

      public Entry setRights(Text value)
      Description copied from class: CommonEntry
      Bean property setter: rights.

      The rights statement of this object.

      Overrides:
      setRights in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setTitle

      public Entry setTitle(String value)
      Description copied from class: CommonEntry
      Bean property fluent setter: title.

      The title of this object.

      Overrides:
      setTitle in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object.
    • setTitle

      public Entry setTitle(Text value)
      Description copied from class: CommonEntry
      Bean property setter: title.

      The title of this object.

      Overrides:
      setTitle in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setUpdated

      public Entry setUpdated(String value)
      Description copied from class: CommonEntry
      Bean property fluent setter: updated.

      The update timestamp of this object.

      Overrides:
      setUpdated in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object.
    • setUpdated

      public Entry setUpdated(Calendar value)
      Description copied from class: CommonEntry
      Bean property setter: updated.

      The update timestamp of this object.

      Overrides:
      setUpdated in class CommonEntry
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object