Class TypedParameterValue
java.lang.Object
com.aquima.interactions.portal.model.def.TypedParameterValue
- All Implemented Interfaces:
ITypedParameterValue
,Serializable
This class represents a parameter value.
- Since:
- 9.3
- Author:
- A. Pragt, J. Hermus
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTypedParameterValue
(IValue value) Initializes a newly created TypedParameterValue with an IValue type as its value.TypedParameterValue
(IExpression expression) Initializes a newly created TypedParameterValue with an IExpression type as its value.TypedParameterValue
(String referenceName) Initializes a newly created TypedParameterValue with an String type as its value.TypedParameterValue
(String key, IValue value) Initializes a newly created TypedParameterValue with an IValue type as its value.TypedParameterValue
(String key, IExpression expression) Initializes a newly created TypedParameterValue with an IExpression type as its value.TypedParameterValue
(String key, String referenceName) Initializes a newly created TypedParameterValue with an String type as its value. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the expression of this typed parameter when this is an expression parameter.getKey()
This method returns the key of this typed parameter value.This method returns the name of an object this parameter is referring to when this is an reference parameter I.e a button namegetValue()
This method returns the value of this typed parameter when this is an value parameter For multivalued parameters this method will return an IListValue.
-
Constructor Details
-
TypedParameterValue
Initializes a newly created TypedParameterValue with an IExpression type as its value.- Parameters:
key
- The key for this value.expression
- The IExpression type value for this object.
-
TypedParameterValue
Initializes a newly created TypedParameterValue with an IValue type as its value.- Parameters:
key
- The key for this value.value
- The IValue type value for this object.
-
TypedParameterValue
Initializes a newly created TypedParameterValue with an String type as its value.- Parameters:
key
- The key for this value.referenceName
- The String type value for this object.
-
TypedParameterValue
Initializes a newly created TypedParameterValue with an IExpression type as its value.- Parameters:
expression
- The IExpression type value for this object.
-
TypedParameterValue
Initializes a newly created TypedParameterValue with an IValue type as its value.- Parameters:
value
- The IValue type value for this object.
-
TypedParameterValue
Initializes a newly created TypedParameterValue with an String type as its value.- Parameters:
referenceName
- The String type value for this object.
-
-
Method Details
-
getKey
Description copied from interface:ITypedParameterValue
This method returns the key of this typed parameter value. The key is typically used as a label for a value.- Specified by:
getKey
in interfaceITypedParameterValue
- Returns:
- The key, can not be null.
-
getExpression
Description copied from interface:ITypedParameterValue
This method returns the expression of this typed parameter when this is an expression parameter.- Specified by:
getExpression
in interfaceITypedParameterValue
- Returns:
- The expression, can be null.
-
getValue
Description copied from interface:ITypedParameterValue
This method returns the value of this typed parameter when this is an value parameter For multivalued parameters this method will return an IListValue.- Specified by:
getValue
in interfaceITypedParameterValue
- Returns:
- The value, can be null.
-
getReferenceName
Description copied from interface:ITypedParameterValue
This method returns the name of an object this parameter is referring to when this is an reference parameter I.e a button name- Specified by:
getReferenceName
in interfaceITypedParameterValue
- Returns:
- The name of the referring object, can be null.
-