Class Related

    • Constructor Detail

      • Related

        public Related()
    • Method Detail

      • getLink

        public String getLink()
        link A required, URL attribute. The URL for related feeds.
        Returns:
        the URL for related feeds
      • setLink

        public void setLink​(String link)
        Set the URL for related feeds.
        Parameters:
        link - the URL for related feeds.
      • getTitle

        public String getTitle()
        title An optional, string attribute. The name or description of the related feed.
        Returns:
        The name or description of the related feed.
      • setTitle

        public void setTitle​(String title)
        Set the name or description of the related feed.
        Parameters:
        title - the name or description of the related feed.
      • getType

        public Integer getType()
        type A required, string attribute. This attribute can have one of the following values:

        "complete" if the link points to file containing the complete collection of items for this feed.

        "aggregated" if the link points to a feed whose contents are being incorporated into this feed by the publisher.

        Returns:
        the type of the releated feed.
      • setType

        public void setType​(Integer type)
        Set the type of relationship, complete or aggregated.
        Parameters:
        type - the type of relationship, complete or aggregated.
      • getSince

        public Date getSince()
        An optional, date-time attribute. This is the starting point of the related feed. If this attribute is omitted or blank, it is assumed that this is a complete feed.
        Returns:
        the starting point of the related feed.
      • setSince

        public void setSince​(Date since)
        Set the starting point of the related feed.
        Parameters:
        since - the starting point of the related feed.
      • getUntil

        public Date getUntil()
        An optional, date-time attribute. This is the ending point of a feed.
        Returns:
        the ending point of the feed, until.
      • setUntil

        public void setUntil​(Date until)
        Set the ending point of the feed, until. An optional, date-time attribute.
        Parameters:
        until - the ending point of the feed.