Class Link
java.lang.Object
com.aquima.interactions.composer.model.Element
com.aquima.interactions.composer.model.Link
- All Implemented Interfaces:
IElement
,Serializable
Page element containing the information of the link that should be shown on the page.
- Since:
- 6.0
- Author:
- J. van Leuven
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method will invoke the visitor for this runtime element.void
addParameter
(String key, IPrimitiveValue parameterValue) This method may be used to add a parameter to the link.This method should clone the element and return the cloned element.boolean
String[]
This method returns an array containing the names of the parameters that are defined for this link.getParameterValue
(String key) This method returns the value for the specified parameter name.getText()
This method returns the text that should be shown for the link.This method returns the text that should be shown for the link.This method returns the (type) name of the link.int
hashCode()
Methods inherited from class com.aquima.interactions.composer.model.Element
addPresentationStyle, evaluateTsl, getName, getParent, getPresentationStyles, getProperty, getPropertyKeys, getRuntimeKey, getVisibilityCondition, hasFocus, hasPresentationStyle, isReadonly, isReadonlyInheritFromParent, isVisible, setFocus, setParent, setPresentationStyle, setPresentationStyles, setPresentationStyles, setProperty, setReadonly, setReadonlyInheritFromParent, setRuntimeKey, setVisibilityCondition, setVisible
-
Constructor Details
-
Link
Constructs the link with the required arguments.- Parameters:
typeName
- The name of the link element.text
- The text that should be shown for the link.
-
Link
Constructs the link with the required arguments.- Parameters:
typeName
- The name of the link element.textItem
- The text that should be shown for the link.
-
Link
-
-
Method Details
-
duplicate
Description copied from interface:IElement
This method should clone the element and return the cloned element. The duplicate method should usually make a deep copy of the element, with the exception of members that are not mutable (and thus can safely be shared between multiple copies). The properties of an element are considered to be non-mutable, and will thus by default be copied.- Returns:
- The cloned (duplicate) element.
-
addParameter
This method may be used to add a parameter to the link.- Parameters:
key
- The name of the parameter.parameterValue
- The value of the parameter.
-
getParameterKeys
This method returns an array containing the names of the parameters that are defined for this link.- Returns:
- an array containing the names of the parameters that are defined for this link.
-
getParameterValue
This method returns the value for the specified parameter name. When there is no parameter defined with the specified name, a null value will be returned.- Parameters:
key
- The name of the parameter for which the value is requested.- Returns:
- The value for the specified parameter, or null if no value parameter is present with the specified name.
-
getText
This method returns the text that should be shown for the link.- Returns:
- the text that should be shown for the link.
-
getTextItem
This method returns the text that should be shown for the link.- Returns:
- the text that should be shown for the link.
-
getTypeName
This method returns the (type) name of the link.- Returns:
- the (type) name of the link.
-
equals
-
hashCode
public int hashCode() -
accept
Description copied from class:Element
This method will invoke the visitor for this runtime element.
-