Class InstanceLinkerParameters

java.lang.Object
com.aquima.interactions.framework.container.instance.linker.InstanceLinkerParameters

public class InstanceLinkerParameters extends Object
This class is responsible for parsing the parameters passed to the instance linker container.
Since:
5.0
Author:
Jon van Leuven
  • Field Details

  • Constructor Details

    • InstanceLinkerParameters

      public InstanceLinkerParameters(ITypedParameters parameters, IExpressionParser expressionParser)
      Constructs the parameters object from the parameters that were passed to the container.
      Parameters:
      parameters - The parameters object that was passed to the container.
      expressionParser - the expression parser
  • Method Details

    • getEntityName

      public String getEntityName()
      Method to get the parameter 'entityName'.
      Returns:
      The entity name.
    • getAttributes

      public String[] getAttributes()
      Method to get the parameter 'attributes' (split by |).
      Returns:
      The attributes (never null).
    • getSortAttribute

      public String getSortAttribute()
      Method to get the parameter 'sortAttribute'.
      Returns:
      The sort attribute.
    • getWhereClause

      public String getWhereClause()
      Method to get the parameter 'whereClause'.
      Returns:
      The where clause.
    • isRequired

      public boolean isRequired(InferenceContext context)
      Method to get the parameter 'required'.
      Parameters:
      context - the inference context
      Returns:
      Is required boolean.
    • isReadOnly

      public boolean isReadOnly(InferenceContext context)
      Method to get the parameter 'readonly'.
      Parameters:
      context - the inference context
      Returns:
      Is readonly boolean.
    • isRefresh

      public boolean isRefresh()
      Method to get the parameter 'refresh'.
      Returns:
      Is refresh boolean.
    • getSortOrder

      public String getSortOrder()
    • getPresentationStyles

      public String[] getPresentationStyles()