Class Link
java.lang.Object
com.aquima.web.api.model.page.element.ElementModel
com.aquima.web.api.model.page.element.Link
This class represents the link viewmodel.
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns the properties of the model.getText()
Returns the text of the link.Returns the reference to a text item.getType()
int
hashCode()
void
Sets the text of link.void
setTextRef
(String textKey) Sets the reference to a text item.Methods inherited from class com.aquima.web.api.model.page.element.ElementModel
addProperty, getFunctionalKey, getKey, getName, getProperties, getStyles, setFunctionalKey, setKey, setName
-
Constructor Details
-
Link
public Link()
-
-
Method Details
-
getType
- Specified by:
getType
in classElementModel
-
getText
Returns the text of the link.- Returns:
- The text of the link.
-
setText
Sets the text of link.- Parameters:
text
- The text.
-
getTextRef
Returns the reference to a text item.- Returns:
- The text item key.
-
setTextRef
Sets the reference to a text item.- Parameters:
textKey
- The text item key.
-
getParameters
This method returns the properties of the model.- Returns:
- The map of properties.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classElementModel
-
equals
- Overrides:
equals
in classElementModel
-