Class LinkItem


  • public class LinkItem
    extends java.lang.Object
    Model object to pass links to external resources.
    • Constructor Detail

      • LinkItem

        public LinkItem()
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
        Gets title.
        Returns:
        the title
      • setTitle

        public LinkItem setTitle​(java.lang.String title)
        Sets title.
        Parameters:
        title - the value
        Returns:
        self for method chaining
      • getUrl

        public java.lang.String getUrl()
        Gets url.
        Returns:
        the url
      • setUrl

        public LinkItem setUrl​(java.lang.String url)
        Sets url.
        Parameters:
        url - the value
        Returns:
        self for method chaining
      • getDescription

        public java.lang.String getDescription()
        Gets description.
        Returns:
        the description
      • setDescription

        public LinkItem setDescription​(java.lang.String description)
        Sets description.
        Parameters:
        description - the value
        Returns:
        self for method chaining
      • getType

        public LinkType getType()
        Gets type.
        Returns:
        the type
      • setType

        public LinkItem setType​(LinkType type)
        Sets type.
        Parameters:
        type - the value
        Returns:
        self for method chaining
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object