java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.Link

public class Link extends ElementModel
This class represents the link viewmodel.
Since:
9.2
Author:
A.Pragt
  • Constructor Details

    • Link

      public Link()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class ElementModel
    • getText

      public String getText()
      Returns the text of the link.
      Returns:
      The text of the link.
    • setText

      public void setText(String text)
      Sets the text of link.
      Parameters:
      text - The text.
    • getTextRef

      public String getTextRef()
      Returns the reference to a text item.
      Returns:
      The text item key.
    • setTextRef

      public void setTextRef(String textKey)
      Sets the reference to a text item.
      Parameters:
      textKey - The text item key.
    • getParameters

      public Map<String,String> getParameters()
      This method returns the properties of the model.
      Returns:
      The map of properties.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ElementModel
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ElementModel