Class CommonEntry

java.lang.Object
org.apache.juneau.dto.atom.Common
org.apache.juneau.dto.atom.CommonEntry
Direct Known Subclasses:
Entry, Feed, Source

public class CommonEntry extends Common
Parent class of Entry, Feed, and Source.
See Also:
  • Constructor Details

    • CommonEntry

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

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

      public CommonEntry()
      Bean constructor.
  • Method Details

    • getAuthors

      Bean property getter: authors.

      The list of authors for this object.

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

      public CommonEntry setAuthors(Person... value)
      Bean property setter: authors.

      The list of authors for this object.

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

      Bean property getter: categories.

      The list of categories of this object.

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

      public CommonEntry setCategories(Category... value)
      Bean property setter: categories.

      The list of categories of this object.

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

      @Xml(format=COLLAPSED, childName="contributor") public Person[] getContributors()
      Bean property getter: contributors.

      The list of contributors of this object.

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

      public CommonEntry setContributors(Person... value)
      Bean property setter: contributors.

      The list of contributors of this object.

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

      public Id getId()
      Bean property getter: id.

      The ID of this object.

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

      public CommonEntry setId(Id value)
      Bean property setter: id.

      The ID of this object.

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

      public CommonEntry setId(String value)
      Bean property fluent setter: id.

      The ID of this object.

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

      Bean property getter: links.

      The list of links of this object.

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

      public CommonEntry setLinks(Link... value)
      Bean property setter: links.

      The list of links of this object.

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

      public Text getRights()
      Bean property getter: rights.

      The rights statement of this object.

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

      public CommonEntry setRights(Text value)
      Bean property setter: rights.

      The rights statement of this object.

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

      public CommonEntry setRights(String value)
      Bean property fluent setter: rights.

      The rights statement of this object.

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

      public Text getTitle()
      Bean property getter: title.

      The title of this object.

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

      public CommonEntry setTitle(Text value)
      Bean property setter: title.

      The title of this object.

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

      public CommonEntry setTitle(String value)
      Bean property fluent setter: title.

      The title of this object.

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

      public Calendar getUpdated()
      Bean property getter: updated.

      The update timestamp of this object.

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

      Bean property setter: updated.

      The update timestamp of this object.

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

      public CommonEntry setUpdated(String value)
      Bean property fluent setter: updated.

      The update timestamp of this object.

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

      public CommonEntry 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 Common
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setLang

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

      The language of this object.

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