Class Item


  • public class Item
    extends Object
    Item of a list. This item must contain a label and an URL ; and optionnally it can have a number of elements and a string (informations).
    Version:
    1.0
    Author:
    lloiseau
    • Constructor Detail

      • Item

        public Item​(String label,
                    String URL,
                    int nbelem,
                    Collection<Link> links)
        Creates new Item Contain a label, number of elements and information
        Parameters:
        label -
        URL -
        nbelem -
        info -
      • Item

        public Item​(String label,
                    String URL,
                    int nbelem,
                    String info)
        Creates new Item Contain a label, number of elements and information
        Parameters:
        label -
        URL -
        nbelem -
        info -
      • Item

        public Item​(String label,
                    String URL,
                    String info)
        Creates new Item Contain a label and information but no elements
      • Item

        public Item​(String label,
                    String URL)
        Creates new Item Contain a lonely label :o(
    • Method Detail

      • getLabel

        public String getLabel()
        Method declaration
        Returns:
      • setLabel

        public void setLabel​(String label)
        Method declaration
        Parameters:
        label -
      • getURL

        public String getURL()
        Method declaration
        Returns:
      • setURL

        public void setURL​(String URL)
        Method declaration
        Parameters:
        URL -
      • getNbelem

        public int getNbelem()
        Method declaration
        Returns:
      • setNbelem

        public void setNbelem​(int nbelem)
        Method declaration
        Parameters:
        nbelem -
      • getInfo

        public String getInfo()
        Method declaration
        Returns:
      • setInfo

        public void setInfo​(String info)
        Method declaration
        Parameters:
        info -
      • getLinks

        public Collection<Link> getLinks()
        Method declaration
        Returns:
      • setLinks

        public void setLinks​(Collection<Link> links)
        Method declaration
        Parameters:
        links -
      • getUniversalLink

        public String getUniversalLink()
        Returns:
      • setUniversalLink

        public void setUniversalLink​(String string)
        Parameters:
        string -