Examples of addParameter()


Examples of com.tll.model.InterfaceOption.addParameter()

  private Interface stubInterface(boolean persist) {
    if(persist) getDbTrans().startTrans();
    final Interface intf = stub(InterfaceSwitch.class, false);
    final InterfaceOption io = stub(InterfaceOption.class, false);
    final InterfaceOptionParameterDefinition iopd = stub(InterfaceOptionParameterDefinition.class, false);
    io.addParameter(iopd);
    intf.addOption(io);
    if(persist) {
      getDbTrans().setComplete();
      getDao().persist(intf);
      getDbTrans().endTrans();

Examples of controls.ParametersPanel.addParameter()

            {
              parameterName=nameNode.getTextContent();
            }
          }
          parameterDescription = parameter.getTextContent();
          panel.addParameter(parameterType,parameterName,parameterDescription);
         
        }
 
      }while((parameter = parameter.getNextSibling()) != null);
    }

Examples of de.iritgo.aktera.ui.form.CommandInfo.addParameter()

      {
        Configuration[] params = config.getChildren("param");

        for (int i = 0; i < params.length; ++i)
        {
          cmd.addParameter(params[i].getAttribute("name"), params[i].getAttribute("value"));
        }
      }

      cmd.setIcon(config.getAttribute("icon", null));

Examples of de.lmu.ifi.dbs.elki.utilities.optionhandling.parameterization.ListParameterization.addParameter()

   * @return the parameters for the PCA for the specified correlation dimension
   */
  private ListParameterization pcaParameters(int correlationDimension) {
    ListParameterization parameters = new ListParameterization();

    parameters.addParameter(PCAFilteredRunner.PCA_EIGENPAIR_FILTER, FirstNEigenPairFilter.class);
    parameters.addParameter(FirstNEigenPairFilter.EIGENPAIR_FILTER_N, correlationDimension);

    return parameters;
  }

Examples of de.xanders.data.common.util.CriteriaSearch.addParameter()

            criteriaSearch.getConfiguration().setFirstResult(criteria.getFirstResult());
            criteriaSearch.getConfiguration().setFetchSize(criteria.getFetchSize());
            criteriaSearch.getConfiguration().setMaximumResultSize(criteria.getMaximumResultSize());
            CriteriaSearchParameter param1 = new CriteriaSearchParameter(criteria.getBeginDate(),
                    "beginDate", CriteriaSearchParameter.GREATER_THAN_OR_EQUAL_COMPARATOR);
            criteriaSearch.addParameter(param1);
            CriteriaSearchParameter param2 = new CriteriaSearchParameter(criteria.getEndDate(),
                    "endDate", CriteriaSearchParameter.GREATER_THAN_OR_EQUAL_COMPARATOR);
            criteriaSearch.addParameter(param2);
            java.util.List results = criteriaSearch.executeAsList();
            transformEntities(TRANSFORM_NONE, results);

Examples of eu.admire.registry.pe.ProcessingElementDescriptor.addParameter()

                Type type = function.getParameters().get(index.getValue());
                Parameter parameter = getDescriptor(
                        type,
                        function.getArrayDimensions().get(index.getValue()));
                parameter.setIndex(index.getKey());
                descriptor.addParameter(index.getValue(), parameter);
            }
            descriptor.setReturnType(
                    getDescriptor(
                            function.getReturnType(),
                            function.getReturnTypeArray()));

Examples of eu.mosaic_cloud.platform.core.configuration.IConfiguration.addParameter()

  public static void setUpBeforeClass() throws Exception {
//    String host = "localhost";
//    Integer port = 9000;
     
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://fb012d6b-c238-4b31-b889-4121a318b2cb");
    configuration.addParameter ("interop.driver.identity", "fb012d6b-c238-4b31-b889-4121a318b2cb");
    configuration.addParameter ("dfs.port", 9000);
    configuration.addParameter ("dfs.host", "192.168.87.66");
    configuration.addParameter ("dfs.driver", "eu.mosaic_cloud.drivers.filesystem.hdfs.HDFSDriver");
   

Examples of eu.mosaic_cloud.platform.core.configuration.PropertyTypeConfiguration.addParameter()

    }
    {
      final String host = System.getProperty (BaseCloudletTest.MOSAIC_AMQP_HOST, BaseCloudletTest.MOSAIC_AMQP_HOST_DEFAULT);
      final Integer port = Integer.valueOf (System.getProperty (BaseCloudletTest.MOSAIC_AMQP_PORT, BaseCloudletTest.MOSAIC_AMQP_PORT_DEFAULT));
      final PropertyTypeConfiguration driverConfiguration = PropertyTypeConfiguration.create ();
      driverConfiguration.addParameter ("interop.driver.endpoint", scenario.driversEndpoint);
      driverConfiguration.addParameter ("interop.driver.identity", scenario.driversIdentity);
      driverConfiguration.addParameter ("amqp.host", host);
      driverConfiguration.addParameter ("amqp.port", port);
      driverConfiguration.addParameter ("amqp.driver_threads", Integer.valueOf (1));
      driverConfiguration.addParameter ("consumer.amqp.queue", "tests.queue");

Examples of fi.luomus.commons.utils.URIBuilder.addParameter()

    HttpClientService client = null;
    try {
      client = new HttpClientService();
      URIBuilder uri = new URIBuilder(getTriplestoreBaseURL() + "/taxon-search/" + Utils.urlEncode(searchword));
      if (given(checklist)) {
        uri.addParameter("checklist", checklist);
      }
      Document response = client.contentAsDocument(new HttpGet(uri.getURI()));
      return response;
    } finally {
      if (client != null) client.close();

Examples of gri.gridp.modules.Function.addParameter()

      gri.gridp.modules.Script script = new gri.gridp.modules.Script();
      script.setText("myprogram $param");

      Function f = new Function();
      f.addParameter(p);
      f.addScript(script);

      GridpScriptAssistant assist = new GridpScriptAssistant(f, new File("."));
      Map inputs = new HashMap();
      inputs.put("param", "value");
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.