Examples of addParameter()


Examples of org.apache.tuscany.das.rdb.impl.InsertCommandImpl.addParameter()

      Parameter p = new ParameterImpl();
      p.setName(property.getName());
      p.setType(property.getType());
      p.setConverter(getConverter(table, property.getName()));
      p.setIndex(idx);
      cmd.addParameter(p);

    }
    DebugUtil.debugln(getClass(), debug, statement.toString());
    return cmd;

Examples of org.apache.tuscany.das.rdb.impl.OptimisticWriteCommandImpl.addParameter()

        UpdateCommandImpl updateCommand = new OptimisticWriteCommandImpl(statement.toString());
       
        Iterator params = parameters.iterator();
        while (params.hasNext()) {          
          updateCommand.addParameter((ParameterExtendedImpl) params.next());
        }
          
        if (this.logger.isDebugEnabled()) {
            this.logger.debug(statement.toString());
        }

Examples of org.apache.tuscany.das.rdb.impl.UpdateCommandImpl.addParameter()

      Parameter param = new ParameterImpl();
      param.setName(p.getName());
      param.setType(p.getType());
      param.setConverter(getConverter(t, p.getName()));
      param.setIndex(idx);
      updateCommand.addParameter(param);
    }
    DebugUtil.debugln(getClass(), debug, statement.toString());
    return updateCommand;
  }

Examples of org.apache.uima.internal.util.CommandLineParser.addParameter()

  private static final String TARGET_DIR_PARAM = "-targetDir";

  private static final CommandLineParser createCmdLineParser() {
    CommandLineParser parser = new CommandLineParser();
    parser.addParameter(INSTALL_ACTION_PARAM, false);
    parser.addParameter(PACKAGE_ACTION_PARAM, false);
    parser.addParameter(COMPONENT_ID_PARAM, true);
    parser.addParameter(MAIN_COMPONENT_DESC_PARAM, true);
    parser.addParameter(CLASSPATH_PARAM, true);
    parser.addParameter(DATAPATH_PARAM, true);

Examples of org.apache.wicket.protocol.http.mock.MockHttpServletRequest.addParameter()

   */
  private static HttpServletRequest createRequest(final WicketTester wicketTester, final Page page)
  {
    Args.notNull(page, "page");
    MockHttpServletRequest request = createRequest(wicketTester);
    request.addParameter("pageId", page.getId());
    return request;
  }

  /**
   * Creates an HttpServletRequest that is needed by AbstractWebSocketProcessor

Examples of org.apache.ws.util.jndi.tools.ResourceParameters.addParameter()

      {
         ParameterDocument.Parameter[] parameterArray = resourceParams.getParameterArray(  );
         for ( int i = 0; i < parameterArray.length; i++ )
         {
            ParameterDocument.Parameter parameter = parameterArray[i];
            params.addParameter( parameter.getName(  ), parameter.getValue() );
         }
      }
      return params;
   }

Examples of org.apache.xalan.xsltc.Translet.addParameter()

      // Pass global parameters
      int n = _params.size();
      for (int i = 0; i < n; i++) {
    Parameter param = (Parameter) _params.elementAt(i);
    translet.addParameter(param._name, param._value);
      }

      // Transform the document
      TransletOutputHandlerFactory tohFactory =
    TransletOutputHandlerFactory.newInstance();

Examples of org.apache.xalan.xsltc.runtime.AbstractTranslet.addParameter()

      // Pass global parameters
      int n = _params.size();
      for (int i = 0; i < n; i++) {
    Parameter param = (Parameter) _params.elementAt(i);
    translet.addParameter(param._name, param._value);
      }

      // Transform the document
      TransletOutputHandlerFactory tohFactory =
    TransletOutputHandlerFactory.newInstance();

Examples of org.apache.yoko.tools.common.idltypes.IdlOperation.addParameter()

        while (it.hasNext()) {
            ParamType arg = (ParamType)it.next();
            IdlType type = findType(arg.getIdltype());           
            String mode = arg.getMode().value();
            IdlParam param = IdlParam.create(idlOp, arg.getName(), type, mode);
            idlOp.addParameter(param);
        }
       
        Iterator iter = opType.getRaises().iterator();

        while (iter.hasNext()) {

Examples of org.cast.cwm.components.DeployJava.addParameter()

        String dataUrl = RequestCycle.get().urlFor(getRelativeRef(dataFile)).toString();

        DeployJava dj = new DeployJava(wicketId);
        dj.setArchive(jarUrl);
        dj.setCode(elt.getAttribute("src"));
        dj.addParameter("dataFile", dataUrl);
        return dj;
      }
      return super.getDynamicComponent(wicketId, elt);
     
     
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.