Class Image
- 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 Summary
Constructors Constructor Description Image()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Integer
getHeight()
This method returns the image height.String
getImageType()
This method returns the image type.String
getType()
Integer
getWidth()
This method returns the image width.int
hashCode()
void
setHeigth(Integer height)
This method set the image height.void
setImageType(String imageType)
This method sets the image type.void
setWidth(Integer width)
This method sets the image width.-
Methods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
-
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getType
in classElementModel
-
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 classElementModel
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classElementModel
-
-