Examples of addParameter()


Examples of com.nineteendrops.tracdrops.client.core.multicall.MultiParameter.addParameter()

        if(query == null){
            query = "";
        }

        MultiParameter multiParameter = new MultiParameter();
        multiParameter.addParameter(query);

        ArrayList<String> listOfFilters = new ArrayList<String>();
        if(!searchQuery.isOnAll()){
            if(searchQuery.isOnTickets()) listOfFilters.add(SearchKeys.ON_TICKETS);
            if(searchQuery.isOnChangesets()) listOfFilters.add(SearchKeys.ON_CHANGESETS);

Examples of com.proverby.api.Query.addParameter()

  public void testFilterProverbs()
  {
    api.attachProverbListener(detailListener);
    Query query = Query.createSearchProverbQuery()
        .addParameter(CriteriaParameter.create("leader"));
    query.addParameter(SortParameter.create(SortOrder.NAME_DESCENDING));
    api.listProverbs(query);
  }

  public void testDailyProverb()
  {

Examples of com.scooterframework.orm.sqldataexpress.object.Function.addParameter()

               
                if (startToRecord) {
                    Parameter p = ParameterFactory.getInstance().createParameter(vendor, index, columnName, mode, sqlDataType, sqlDataTypeName);
                    p.setCatalog(catalog);
                    p.setSchema(schema);
                    sp.addParameter(p);
                }
               
                previousIndex = index;
            }
            sp.setCataloge(catalog);

Examples of com.scooterframework.orm.sqldataexpress.object.StoredProcedure.addParameter()

               
                if (startToRecord) {
                    Parameter p = ParameterFactory.getInstance().createParameter(vendor, index, columnName, mode, sqlDataType, sqlDataTypeName);
                    p.setCatalog(catalog);
                    p.setSchema(schema);
                    sp.addParameter(p);
                }
               
                previousIndex = index;
            }
            sp.setCataloge(catalog);

Examples of com.sun.org.apache.commons.modeler.OperationInfo.addParameter()

        info.setName(method.getName());
        info.setReturnType(method.getReturnType().getName());
        Class paramsClasses[]=method.getParameterTypes();
        for(int k=0; k<paramsClasses.length; k++)
        {
            info.addParameter(new ParameterInfo("param"+(k+1), paramsClasses[k].getName(), null));
        }
        if (whereType!=null)
            info.addField(newField(WHERE_LOCATED_FIELD_NAME, whereType));
        return info;
    }

Examples of com.sun.org.apache.xalan.internal.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 com.sun.slamd.parameter.ParameterList.addParameter()

   
    public ParameterList getParameterStubs()
    {
        ParameterList list = new ParameterList();
        list.addParameter( new BooleanParameter( "TestParam", "Test Parameter", "just for testing", true ) );
        return list;
    }


    public StatTracker[] getStatTrackerStubs( String clientId, String threadId, int interval )

Examples of com.sun.tools.internal.xjc.generator.bean.MethodWriter.addParameter()

        // [RESULT]
        // void setXXX( Type value ) {
        //     this.value = value;
        // }
        JMethod $set = writer.declareMethod( codeModel.VOID, "set"+prop.getName(true) );
        JVar $value = writer.addParameter( ptype, "value" );
        body = $set.body();
        body.assign(JExpr._this().ref(ref()),$value);
        // setter always get the default javadoc. See issue #381
        writer.javadoc().append(Messages.DEFAULT_SETTER_JAVADOC.format(nc.toVariableName(prop.getName(true))));

Examples of com.sun.tools.xjc.generator.bean.MethodWriter.addParameter()

        //     this.value = newVal;
        // }
        JMethod $set = writer.declareMethod( codeModel.VOID, "set"+prop.getName(true) );
        JType setterType = exposedType;
        if(forcePrimitiveAccess)    setterType = setterType.unboxify();
        JVar $value = writer.addParameter( setterType, "value" );
        JBlock body = $set.body();
        body.assign(JExpr._this().ref(ref()),castToImplType($value));

        // setter always get the default javadoc. See issue #381
        writer.javadoc().append(Messages.DEFAULT_SETTER_JAVADOC.format(nc.toVariableName(prop.getName(true))));

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

        aiop.setId(iopd.getId());
        aiop.setName(iopd.getName());
        aiop.setCode(iopd.getCode());
        aiop.setDescription(iopd.getDescription());
        aiop.setValue(Integer.toString(RandomUtils.nextInt(100)));
        aio.addParameter(aiop);
      }
      ai.addOption(aio);
    }
    if(persist) {
      getDbTrans().startTrans();
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.