Class TslIndexDefinition
java.lang.Object
com.aquima.interactions.expressions.tsl.evaluator.scope.TslIndexDefinition
- All Implemented Interfaces:
IValueDefinition
Value definition of the foreach_index member that is available within TSL loops.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the values that are allowed.getType()
This method returns the data type of the value.This method returns the name of the type the value belongs to.boolean
This method returns a boolean indicating if the value is a list type.
-
Constructor Details
-
TslIndexDefinition
public TslIndexDefinition()
-
-
Method Details
-
getType
Description copied from interface:IValueDefinition
This method returns the data type of the value.- Specified by:
getType
in interfaceIValueDefinition
- Returns:
- the data type of the value.
-
getTypeName
Description copied from interface:IValueDefinition
This method returns the name of the type the value belongs to. The type name is only relevant for values which belong to a domain or entity.- Specified by:
getTypeName
in interfaceIValueDefinition
- Returns:
- the name of the type the value belongs to.
-
isMultivalue
public boolean isMultivalue()Description copied from interface:IValueDefinition
This method returns a boolean indicating if the value is a list type.- Specified by:
isMultivalue
in interfaceIValueDefinition
- Returns:
- a boolean indicating if the value is a list type.
-
getDomain
Description copied from interface:IValueDefinition
This method returns the values that are allowed. When there are no restrictions to the range of allowed values, the method should return a null value.- Specified by:
getDomain
in interfaceIValueDefinition
- Returns:
- Array containing the allowed values.
-