Class Asset
java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.Asset
This class represents the asset viewmodel.
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
Constructor Details
-
Asset
public Asset()
-
-
Method Details
-
getType
- Specified by:
getType
in classElementModel
-
getFormat
This method returns the format of the asset.- Returns:
- The asset format.
-
setFormat
This method sets the format of the asset.- Parameters:
format
- The format of the asset.
-
getText
This method returns the text of the asset.- Returns:
- The text of the asset.
-
setText
This method sets the text of the asset.- Parameters:
text
- The text of the asset.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classElementModel
-
equals
- Overrides:
equals
in classElementModel
-