Class SimpleCollectionInfo

    • Constructor Detail

      • SimpleCollectionInfo

        public SimpleCollectionInfo​(String title,
                                    String href,
                                    String... accepts)
        Deprecated.
    • Method Detail

      • getAccepts

        public String[] getAccepts​(RequestContext request)
        Deprecated.
        Description copied from interface: CollectionInfo
        Returns an array of MIME media types for the app:collection element's app:accept elements. These tell a client which media types the collection will accept on a POST
        Specified by:
        getAccepts in interface CollectionInfo
      • getTitle

        public String getTitle​(RequestContext request)
        Deprecated.
        Description copied from interface: CollectionInfo
        Get the value of the app:collection element's atom:title element. This assumes that the title will be type="text". This must not be null;
        Specified by:
        getTitle in interface CollectionInfo
      • getCategoriesInfo

        public CategoriesInfo[] getCategoriesInfo​(RequestContext request)
        Deprecated.
        Description copied from interface: CollectionInfo
        Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements. These tell a client which atom:category elements are defined for use in the collections atom:entries
        Specified by:
        getCategoriesInfo in interface CollectionInfo
      • addCategoriesInfo

        public void addCategoriesInfo​(CategoriesInfo... catinfos)
        Deprecated.
      • setCategoriesInfo

        public void setCategoriesInfo​(CategoriesInfo... catinfos)
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object