Examples of addParameter()


Examples of ar.com.fdvs.dj.domain.DynamicJasperDesign.addParameter()

      //adding original parameter definitions manually
      if (dr.isTemplateImportParameters()){
        for (Iterator iter = jd.getParametersList().iterator(); iter.hasNext();) {
          JRParameter element = (JRParameter) iter.next();
          try {
            djd.addParameter(element);
          } catch (JRException e) {
            if (log.isDebugEnabled()){
              log.warn(e.getMessage());
            }
          }

Examples of ca.uhn.fhir.model.dstu.resource.Conformance.RestQuery.addParameter()

            RestResourceSearchParam param;
            if (query == null) {
              param = resource.addSearchParam();
            } else {
              param = query.addParameter();
              param.addUndeclaredExtension(false, ExtensionConstants.PARAM_IS_REQUIRED, new BooleanDt(nextParameter.isRequired()));
            }

            param.setName(nextParamName);
            if (StringUtils.isNotBlank(chain)) {

Examples of cascading.pattern.model.generalregression.RegressionTable.addParameter()

    String targetCategory = regressionTable.getTargetCategory();

    if( targetCategory != null )
      generalRegressionTable.setTargetCategory( targetCategory );

    generalRegressionTable.addParameter( new Parameter( "intercept", regressionTable.getIntercept() ) );

    int count = 0;

    for( CategoricalPredictor predictor : regressionTable.getCategoricalPredictors() )
      {

Examples of ch.hortis.sonar.model.FileMeasure.addParameter()

    NodeList lines = parser.executeXPathNodeList(elt, "methods/method/lines/line");
    for (int i = 0; i < lines.getLength(); i++) {
      Element line = (Element) lines.item(i);
      double hits = Double.parseDouble(line.getAttribute("hits"));
      if (hits > 0) {
        measure.addParameter("line-hit", Double.parseDouble(line.getAttribute("number")), hits);
      }
    }
    return measure;
  }

Examples of ch.hortis.sonar.model.RuleFailure.addParameter()

          File file = getFilesRepository().getFile(violation.getAttribute("package"), filename);
          failure.setFile(file);
          String line = violation.getAttribute("line");
          if (line != null && !"".equals(line)) {
            failure.addParameter("line", Double.valueOf(line));
          }
          failure.setMessage(violation.getFirstChild().getNodeValue());
          int priority = Integer.parseInt(violation.getAttribute("priority"));
          if (priority <= 2) {
            failure.setLevel(RuleFailureLevel.ERROR);

Examples of com.adito.util.ProxiedHttpMethod.addParameter()

            String param;
            while (tokens.hasMoreTokens()) {
                param = SessionInfoReplacer.replace(requestProcessor.getLaunchSession().getSession(), tokens.nextToken().trim());
                idx = param.indexOf('=');
                if (idx > -1 && idx < param.length()-1) {
                    method.addParameter(param.substring(0, idx), param.substring(idx + 1));
                } else
                    method.addParameter(param, "");
            }
           
            launchSession.setAttribute(LAUNCH_ATTR_AUTH_POSTED, Boolean.TRUE);

Examples of com.adobe.ac.pmd.nodes.asdoc.impl.FunctionAsDocNode.addParameter()

      final FunctionAsDocNode functionDoc = AsDocUtils.computeFunctionDoc( "/** description \n        * description2\n @see mx.kjnerkjlef.btbt*/" );

      final ParameterAsDocNode parameter = AsDocUtils.computeParameterDoc( "name",
                                                                           "description" );
      functionDoc.addParameter( parameter );

      assertEquals( parameter,
                    functionDoc.getParameter( 0 ) );

      assertEquals( "name",

Examples of com.agiletec.aps.tags.URLTag.addParameter()

      } while (!(tag instanceof URLTag));
      parentTag = (URLTag) tag;
    } catch (RuntimeException e) {
      throw new JspException("Error nesting parameter in url tag.", e);
    }
    parentTag.addParameter(this.getName(), value);
    return EVAL_PAGE;
  }
 
}

Examples of com.ajjpj.asysmon.measure.ASimpleMeasurement.addParameter()

        final AHttpRequestDetails details = analyzer.analyze((HttpServletRequest) servletRequest);

        final ASimpleMeasurement measurement = getSysMon().start(details.getIdentifier());
        try {
            for(Map.Entry<String, String> entry: details.getParameters().entrySet()) {
                measurement.addParameter(entry.getKey(), entry.getValue());
            }

            filterChain.doFilter(servletRequest, servletResponse);
        }
        finally {

Examples of com.alibaba.druid.sql.ast.expr.SQLMethodInvokeExpr.addParameter()

                trim_character.setParent(methodExpr);
                methodExpr.putAttribute("trim_character", trim_character);
                if (lexer.token() == Token.FROM) {
                    lexer.nextToken();
                    SQLExpr trim_source = this.expr();
                    methodExpr.addParameter(trim_source);
                }
               
                accept(Token.RPAREN);
                return primaryRest(methodExpr);
            }
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.