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

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

    • Image

      public Image()
  • Method Details

    • getType

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

      public String getImageType()
      This method returns the image type.
      Returns:
      The image type.
    • setImageType

      public void setImageType(String imageType)
      This method sets the image type.
      Parameters:
      imageType - The image type.
    • getHeight

      public Integer getHeight()
      This method returns the image height.
      Returns:
      The height.
    • setHeigth

      public void setHeigth(Integer height)
      This method set the image height.
      Parameters:
      height - The height.
    • getWidth

      public Integer getWidth()
      This method returns the image width.
      Returns:
      The width of the image.
    • setWidth

      public void setWidth(Integer width)
      This method sets the image width.
      Parameters:
      width - The width of the image.
    • hashCode

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

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