Examples of Result


Examples of com.dtrules.samples.chipeligibility.app.dataobjects.Result

                } else{
                    app.getDeniedClients().add(client.getId());
                    denied++;
                }
            }
            Result r = new Result();
            r.setClient(client);
            r.setClient_id(""+client.getId());
            r.setNotes(client.getNotes());
            job.getResults().add(r);
        }
       
        for(Result result : job.getResults()){
            for(String note : result.getNotes()){
View Full Code Here

Examples of com.esri.gpt.framework.resource.query.Result

  @Override
  public Result execute() {
    LOGGER.log(Level.FINER, "Executing query: {0}", this);
    final DestroyableResource root = new DCATRootResource(context, info);
    Result r = new CommonResult(new LimitedLengthResourcesAdapter(root,criteria.getMaxRecords())) {
        @Override
        public void destroy() {
          root.destroy();
          info.destroy();
        }
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.jetty.client.api.Result

        // Mark atomically the response as terminated and succeeded,
        // with respect to concurrency between request and response.
        // If there is a non-null result, then both sender and
        // receiver are reset and ready to be reused, and the
        // connection closed/pooled (depending on the transport).
        Result result = exchange.terminateResponse(null);

        HttpResponse response = exchange.getResponse();
        LOG.debug("Response success {}", response);
        List<Response.ResponseListener> listeners = exchange.getConversation().getResponseListeners();
        ResponseNotifier notifier = getHttpDestination().getResponseNotifier();
View Full Code Here

Examples of com.firefly.mvc.web.Resource.Result

   
    resource.add("/shop/fruit/apple/?", cm);
    resource.add("/shop/fruit/banana", cm);
    resource.add("/file/info.txt", cm);
   
    Result ret = resource.match("/user/id-3344-2222/55555");
    Assert.assertThat(ret.getParams().length, is(3));
    Assert.assertThat(ret.getParams()[1], is("2222"));
    Assert.assertThat(ret.getParams()[2], is("55555"));
   
    ret = resource.match("/shop/fruit/banana");
    Assert.assertThat(ret.getParams(), nullValue());
   
    ret = resource.match("/hello");
    Assert.assertThat(ret, nullValue());
   
    ret = resource.match("/file/info.txt");
View Full Code Here

Examples of com.firefun.DAO.Result

      files.delFile(key_file);
    }
  }

  public boolean realDel(String delid) {
    Result rst = new Result("ffdb");

    String sql = "select ccmc from ff_upload where fileid='" + delid + "'";
    rst.EQuery(sql);
    String filename = rst.getString(0, "ccmc");
    delFile(filename);
    sql = "delete from ff_upload where fileid='" + delid + "'";
    return rst.EUpdate(sql);
  }
View Full Code Here

Examples of com.founder.fix.bpmn2extensions.sqlmappingconfig.Result

        resultMap.setName(element.attributeValue("name"));
        resultMap.setType(element.attributeValue("type"));
       
        for (Object eleNew : element.elements("result")) {
          Element resultMappingElement = (Element) eleNew;
          Result result = SqlmappingconfigFactory.eINSTANCE.createResult();
          result.setColumn(resultMappingElement.attributeValue("column"));
          result.setName(resultMappingElement.attributeValue("name"));
          result.setJdbcType(resultMappingElement.attributeValue("jdbcType"));
          result.setProperty(resultMappingElement.attributeValue("property"));
          //result.setSimpleKey(columnMappingElement.attributeValue("property"));

          resultMap.getResult().add(result);
          //columnMappingMap.put(dataBaseTable.getTableId()+"_"+columnMapping.getColumn(), columnMapping);
        }
View Full Code Here

Examples of com.google.android.gcm.server.Result

    try {
      MulticastResult multicastResult = sender.send(message, Lists.newArrayList(registrationIds), 10);
     
      // analyze the results
      for (int i = 0; i < registrationIds.size(); i++) {
        Result result = multicastResult.getResults().get(i);
        Device device = devices.get(i);
        if (result.getMessageId() != null) {
          LOGGER.info("Sent GCM message to " + device);
          String canonicalRegId = result.getCanonicalRegistrationId();
          if (canonicalRegId != null) {
            // same device has more than on registration id: update it
            device.updateRegistrationId(canonicalRegId);
            pushResponse.addDeviceToUpdate(device);
            LOGGER.info("Updated registration id of device " + device);
          }
        } else {
          String error = result.getErrorCodeName();
          if (error.equals(Constants.ERROR_NOT_REGISTERED)) {
            // Application has been removed from device - unregister it
            pushResponse.addDeviceToRemove(device);
            LOGGER.info("Unregistered device " + device);
          } else {
View Full Code Here

Examples of com.google.caliper.Result

    /**
     * Make new result from run.
     */
    public static Result newResult(final Run run) {
        final Environment env = new EnvironmentGetter().getEnvironmentSnapshot();
        return new Result(run, env);
    }
View Full Code Here

Examples of com.google.checkout.Result

        totalTax.setContent(tax);
        totalTax.setCurrency(DEFAULT_CURRENCY);
      }
      if (calcShipping) {
        for (int j = 0; j < _callback.getCalculate().getShipping().getMethodCount(); j++) {
          Result result = new Result();
          result.setAddressId(address.getId());
          result.setShippable(true);
          Method method = _callback.getCalculate().getShipping().getMethod(j);
          result.setShippingName(method.getName());
          // Load Shipping, read order:
          // 1. google.calculation.shipping.{method name}.{address region}
          // 2. google.calculation.shipping.{method name}.default
          // 3. google.calculation.shipping.default
          BigDecimal shipping = JavaCommerce.getConfiguration().getBigDecimal(new StringBuffer(CONFIG_GOOGLE_CALC_SHIPPING).append(".").append(method.getName()).append(".").append(address.getRegion()).toString(), JavaCommerce.getConfiguration().getBigDecimal(new StringBuffer(CONFIG_GOOGLE_CALC_SHIPPING).append(".").append(method.getName()).append(DOT_DEFAULT).toString(), defaultShipping));
          shipping = shipping.setScale(2, BigDecimal.ROUND_UP);
          if (LOG.isDebugEnabled()) {
            LOG.debug("Calculated shipping of [" + shipping + "] for [" + method.getName() + "]");
          }
          ShippingRate rate = new ShippingRate();
          rate.setContent(shipping);
          rate.setCurrency(DEFAULT_CURRENCY);
          result.setShippingRate(rate);
          if (calcTax) {
            result.setTotalTax(totalTax);
          }
          results.addResult(result);
        }
      }
      else if (calcTax) {
        Result result = new Result();
        result.setAddressId(address.getId());
        result.setTotalTax(totalTax);
        results.addResult(result);
      }
    }
    return mcResults;
  }
View Full Code Here

Examples of com.google.checkout.schema._2.Result

      for (Object giftCert : giftCertList) {
        list.add(giftCert);
      }
    }
   
    Result individualResult = _objectFact.createResult();
    individualResult.setAddressId(addressId);
    individualResult.setShippable(isShippable);
    individualResult.setShippingRate(createMoney(shippingRate));
    individualResult.setTotalTax(createMoney(totalTaxAmount));
    individualResult.setMerchantCodeResults(merchantCodeResults);
   
    Results results = _objectFact.createMerchantCalculationResultsResults();
    results.getResult().add(individualResult);
    MerchantCalculationResults mResults
        = _objectFact.createMerchantCalculationResults();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.