code: private boolean evaluateLogicalOperator(FieldContainer container, Map<GenericCriteriaPrompt, Object> promptValues)
     {
        boolean result = false;
  
        if (m_criteriaList.size() == 0)
        {
           result = true;
        }
        else
        {
           for (GenericCriteria criteria : m_criteriaList)
           {
              result = criteria.evaluate(container, promptValues);
              if ((m_operator == TestOperator.AND && !result) || (m_operator == TestOperator.OR && result))
              {
                 break;
              }
           }
        }
  
        return result;
     }
docs: Evalutes AND and OR operators.
  
  @param container data context
  @param promptValues responses to prompts
  @return operator result