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

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

    • Asset

      public Asset()
  • Method Details

    • getType

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

      public String getFormat()
      This method returns the format of the asset.
      Returns:
      The asset format.
    • setFormat

      public void setFormat(String format)
      This method sets the format of the asset.
      Parameters:
      format - The format of the asset.
    • getText

      public String getText()
      This method returns the text of the asset.
      Returns:
      The text of the asset.
    • setText

      public void setText(String text)
      This method sets the text of the asset.
      Parameters:
      text - The text of the asset.
    • hashCode

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

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