Class CategoryEntity

    • Constructor Detail

      • CategoryEntity

        protected CategoryEntity()
        Default constructor
      • CategoryEntity

        public CategoryEntity​(CategoryDetail category,
                              URI uri)
        Constructor using CategoryDetail and uri
        Parameters:
        category - the category detail
        uri - an URI
    • Method Detail

      • getURI

        public URI getURI()
        Description copied from interface: WebEntity
        Gets the URI at which this web entity is published and can be accessed.
        Specified by:
        getURI in interface WebEntity
        Returns:
        the web entity URI.
      • getCategoryId

        public int getCategoryId()
        Returns:
        the category identifier
      • getName

        public String getName()
        Returns:
        the name
      • getDescription

        public String getDescription()
        Returns:
        the description
      • getUserId

        public String getUserId()
        Returns:
        the userId
      • getPosition

        public int getPosition()
        Returns:
        the position of the object in the list