java.lang.Object
com.aquima.interactions.expressions.tsl.evaluator.scope.TslIndexDefinition
All Implemented Interfaces:
IValueDefinition

public class TslIndexDefinition extends Object implements IValueDefinition
Value definition of the foreach_index member that is available within TSL loops.
Since:
5.0
Author:
O. Kerpershoek
  • Constructor Details

    • TslIndexDefinition

      public TslIndexDefinition()
  • Method Details

    • getType

      public DataType getType()
      Description copied from interface: IValueDefinition
      This method returns the data type of the value.
      Specified by:
      getType in interface IValueDefinition
      Returns:
      the data type of the value.
    • getTypeName

      public String 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 interface IValueDefinition
      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 interface IValueDefinition
      Returns:
      a boolean indicating if the value is a list type.
    • getDomain

      public IPrimitiveValue[] 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 interface IValueDefinition
      Returns:
      Array containing the allowed values.