Interface Article

    • Method Detail

      • setAuthors

        void setAuthors​(String[] authors)
        Array of Author Names. Limit 10.
        author
        Details Author of the item.
        Example <g:author>John Steinbeck</g:author>
        Attribute of Reference Items, News and Articles
        Content type string
        Parameters:
        authors - Array of Author Names. Limit 10.
      • getAuthors

        String[] getAuthors()
        Array of Author Names. Limit 10.
        author
        Details Author of the item.
        Example <g:author>John Steinbeck</g:author>
        Attribute of Reference Items, News and Articles
        Content type string
        Returns:
        Array of author names.
      • setNewsSource

        void setNewsSource​(String newsSource)
        Source for this article.
        news_source
        Details The source of news content.
        Example <g:news_source>Journal</g:news_source>
        Attribute of News and Articles
        Content type string
        Parameters:
        newsSource - Source for this article
      • getNewsSource

        String getNewsSource()
        Source for this article.
        news_source
        Details The source of news content.
        Example <g:news_source>Journal</g:news_source>
        Attribute of News and Articles
        Content type string
        Returns:
        source for this article.
      • setPages

        void setPages​(Integer pages)
        Number of pages in the article.
        pages
        Details The number of pages in the publication.
        Example <g:pages>18</g:pages>
        Attribute of Reference Items, News and Articles
        Content type integer
        Parameters:
        pages - Number of pages in the article
      • getPages

        Integer getPages()
        Number of pages in the article.
        pages
        Details The number of pages in the publication.
        Example <g:pages>18</g:pages>
        Attribute of Reference Items, News and Articles
        Content type integer
        Returns:
        Number of pages in the article
      • setPublishDate

        void setPublishDate​(Date publishDate)
        Date article was published.
        publish_date
        Details Date the item was published in ISO 8601 format: YYYY-MM-DD
        Example <g:publish_date>2005-12-20</g:publish_date>
        Attribute of Reference Items
        Content type date
        Parameters:
        publishDate - Date article was published
      • getPublishDate

        Date getPublishDate()
        Date article was published.
        publish_date
        Details Date the item was published in ISO 8601 format: YYYY-MM-DD
        Example <g:publish_date>2005-12-20</g:publish_date>
        Attribute of Reference Items
        Content type date
        Returns:
        Date article was published