Class ExpressionTable

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Expression>, Collection<Expression>, List<Expression>

public class ExpressionTable extends RuleComponentTable<Expression>
An ExpressionTable is a list of expressions which can be used in function calls or asserts. It is created when an Action Form property is set so that it has the correct number and type of parameters. Rows cannot be added, deleted, or moved. Calling an update methods throws OperationNotSupportedException.
See Also:
  • Constructor Details

  • Method Details

    • add

      public Expression add(int index)
      Create a new Expression and add it at the given index
      Specified by:
      add in class DictionaryComponentTable<Expression>
      Returns:
      a new Expression
    • _beginChange

      public boolean _beginChange()
      unlock the table
    • _endChange

      public void _endChange(boolean locked)
      lock the table
    • getByParameterID

      public Expression getByParameterID(DOID paramID)
      Get Expression in this table by parameter ID
      Parameters:
      paramID - ID of Parameter associated with the Expression
      Returns:
      Expression that has the given parameter ID if available. null otherwise
    • getByParameterAlias

      public Expression getByParameterAlias(String parameterAlias)
      Get Expression from this table by parameter alias.
      Parameters:
      parameterAlias - alias of Parameter associated with the Expression
      Returns:
      Expression corresponding to value of named parameter, or null if no such parameter.