Esempio n. 1
0
  public void setFieldValue(_Fields field, Object value) {
    switch (field) {
      case RESULT_TYPE:
        if (value == null) {
          unsetResultType();
        } else {
          setResultType((String) value);
        }
        break;

      case RESULT:
        if (value == null) {
          unsetResult();
        } else {
          setResult((ByteBuffer) value);
        }
        break;

      case OPERATION_ID:
        if (value == null) {
          unsetOperationId();
        } else {
          setOperationId((String) value);
        }
        break;
    }
  }
Esempio n. 2
0
 public byte[] getResult() {
   setResult(org.apache.thrift.TBaseHelper.rightSize(Result));
   return Result == null ? null : Result.array();
 }