Example #1
0
  private Integer getInt(Tuple pplTuple, int attributeId) {
    Integer result = null;
    pplTuple = validatePPLTuple(pplTuple);

    if (getCommandResult() != COMMANDRESULT.FAILURE) {
      PrintParameterList p = PrintParameterList.class.cast(pplTuple.getValue());
      result = p.getIntegerParameter(attributeId);
    }
    return result;
  }