Examples of Parameter


Examples of org.openquark.cal.compiler.SourceModel.Parameter

         */
        private void checkForUnplingedPrimitives(Algebraic algebraic, String functionName, Function functionEntity) {
            TypeExpr[] arguments = functionEntity.getTypeExpr().getTypePieces();
           
            for(int i = 0; i < arguments.length - 1 && i < algebraic.getNParameters(); i++) {
                Parameter parameter = algebraic.getNthParameter(i);
               
                if(!parameter.isStrict() && isPrimitiveType(arguments[i])) {
                    warningList.add(new LintWarning(LintWarning.WarningType.UNPLINGED_PRIMITIVE_ARG, parameter, parameter.getSourceRangeOfNameNotIncludingPotentialPling(), super.currentModule, functionName));
                }
            }
        }
View Full Code Here

Examples of org.owasp.webscarab.plugin.fuzz.Parameter

    private void addParameterButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addParameterButtonActionPerformed
        int row = paramTable.getSelectedRow();
        if (row == -1) {
            row = paramTable.getRowCount();
        }
        _model.addFuzzParameter(row, new Parameter(Parameter.LOCATION_QUERY, "v"+row, "String", "a" + row), null, 0);
    }//GEN-LAST:event_addParameterButtonActionPerformed
View Full Code Here

Examples of org.pentaho.metadata.query.model.Parameter

        {
          computedParameterSet.put(colName, parameterValue);
        }
        else
        {
          final Parameter parameter = queryParamMap.get(colName);
          computedParameterSet.put(colName, parameter.getDefaultValue());
        }
      }
      parameterNames = paramColNames.toArray(new String[paramColNames.size()]);
    }
    else
View Full Code Here

Examples of org.pentaho.reporting.designer.core.editor.drilldown.model.Parameter

  protected void doneParsing() throws SAXException
  {
    for (int i = 0; i < parameters.size(); i++)
    {
      final ParameterReadHandler readHandler = (ParameterReadHandler) parameters.get(i);
      final Parameter parameter = readHandler.getParameter();
      String parameterGroupName = parameter.getAttribute("parameter-group"); //$NON-NLS-1$
      if (StringUtils.isEmpty(parameterGroupName))
      {
        // default group
        parameterGroupName = "parameters"; //$NON-NLS-1$
      }

      ParameterGroup parameterGroup = parameterDefinition.getParameterGroup(parameterGroupName);
      if (parameterGroup == null)
      {
        final String parameterGroupLabel = parameter.getAttribute("parameter-group-label"); //$NON-NLS-1$
        parameterGroup = new ParameterGroup(parameterGroupName, parameterGroupLabel);
        parameterDefinition.addParameterGroup(parameterGroup);
      }
      parameterGroup.addParameter(parameter);
    }
View Full Code Here

Examples of org.picocontainer.Parameter

        final MutablePicoContainer child = parent.makeChildContainer();
        ComponentAdapter hashMapAdapter = parent.registerComponent(new ConstructorInjectionComponentAdapter(HashMap.class, HashMap.class));
        ComponentAdapter hashSetAdapter = parent.registerComponent(new ConstructorInjectionComponentAdapter(HashSet.class, HashSet.class));
        ComponentAdapter stringAdapter = parent.registerComponent(new InstanceComponentAdapter(String.class, "foo"));
        ComponentAdapter arrayListAdapter = child.registerComponent(new ConstructorInjectionComponentAdapter(ArrayList.class, ArrayList.class));
        Parameter componentParameter = BasicComponentParameter.BASIC_DEFAULT;
        Parameter throwableParameter = new ConstantParameter(new Throwable("bar"));
        ComponentAdapter exceptionAdapter = child.registerComponent(new ConstructorInjectionComponentAdapter(Exception.class, Exception.class, new Parameter[]{
            componentParameter,
            throwableParameter
        }));
View Full Code Here

Examples of org.restlet.client.data.Parameter

     * @param value
     *            The parameter value or null.
     * @return The new parameter.
     */
    protected Parameter createParameter(String name, String value) {
        return new Parameter(name, value);
    }
View Full Code Here

Examples of org.restlet.data.Parameter

                    .getHeaderNames(); names.hasMoreElements();) {
                headerName = names.nextElement();
                for (final Enumeration<String> values = getRequest()
                        .getHeaders(headerName); values.hasMoreElements();) {
                    headerValue = values.nextElement();
                    this.requestHeaders.add(new Parameter(headerName,
                            headerValue));
                }
            }
        }
View Full Code Here

Examples of org.rhq.helpers.pluginAnnotations.agent.Parameter

               for (Annotation[] paramAnnotationsInEach : paramAnnotations) {
                  boolean hadParameter = false;
                  for (Annotation annot : paramAnnotationsInEach) {
                     debug("Parameter annotation " + annot);
                     if (annot instanceof Parameter) {
                        Parameter param = (Parameter) annot;
                        SimpleProperty prop = new SimpleProperty(param.name());
                        prop.setDescription(param.description());
                        operation.getParams().add(prop);
                        hadParameter = true;
                     }
                  }
                  if (!hadParameter) {
View Full Code Here

Examples of org.ribax.parameters.Parameter

        StringPart p = new StringPart(pair.getName(),pair.getValue());
       
        out.write(p.toString().getBytes());

      } else if (o instanceof Parameter) {
        Parameter param = (Parameter)o;
        pair = param.getNameValuePair();
       
        if (pair == null || pair.getName() == null || pair.getValue() == null) {
          nullParameterWarning(pair);
          continue;
        }
View Full Code Here

Examples of org.sbml.jsbml.Parameter

   
    //Model libsbmlAdapterModel = libSBMLAdapterReader.readModel(libsbmlDoc.getModel());
   
    // System.out.println("nb global parameters = " + libsbmlDoc.getModel().getParameters());
   
    Parameter J18 = model.getParameter("J18");
   
    assertTrue(J18 != null);
    assertTrue(J18.getValue() == 0.6);
   
    Reaction pRB_synthesis = model.getReaction("pRB_synthesis");
   
    assertTrue(pRB_synthesis != null);
    System.out.println("pRB_synthesis additional annotation: " + pRB_synthesis.getAnnotation().getNonRDFannotation());
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.