Class LinkItem

java.lang.Object
ru.testit.models.LinkItem
All Implemented Interfaces:
Serializable

public class LinkItem extends Object implements Serializable
Model object to pass links to external resources.
See Also:
  • Constructor Details

    • LinkItem

      public LinkItem()
  • Method Details

    • getTitle

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

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

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

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

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

      public LinkItem setDescription(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 String toString()
      Overrides:
      toString in class Object