Examples of IParameter


Examples of ca.uhn.fhir.rest.param.IParameter

    FhirContext context = getContext();

    HttpPutClientInvocation retVal = createUpdateInvocation(theResource, idDt, versionIdDt, context);

    for (int idx = 0; idx < theArgs.length; idx++) {
      IParameter nextParam = getParameters().get(idx);
      nextParam.translateClientArgumentIntoQueryArgument(getContext(), theArgs[idx], null, retVal);
    }

    return retVal;
  }
View Full Code Here

Examples of ca.uhn.fhir.rest.param.IParameter

    String resourceName = getResourceName();
    HttpGetClientInvocation retVal = createSearchInvocation(resourceName, queryStringArgs);

    if (theArgs != null) {
      for (int idx = 0; idx < theArgs.length; idx++) {
        IParameter nextParam = getParameters().get(idx);
        nextParam.translateClientArgumentIntoQueryArgument(getContext(), theArgs[idx], queryStringArgs, retVal);
      }
    }

    return retVal;
  }
View Full Code Here

Examples of ca.uhn.fhir.rest.param.IParameter

    BaseHttpClientInvocation retVal = createCreateInvocation(theResource, context);
   
    if (theArgs != null) {
      for (int idx = 0; idx < theArgs.length; idx++) {
        IParameter nextParam = getParameters().get(idx);
        nextParam.translateClientArgumentIntoQueryArgument(getContext(), theArgs[idx], null, retVal);
      }
    }

    return retVal;
  }
View Full Code Here

Examples of ca.uhn.fhir.rest.param.IParameter

      } else {
        retVal = new HttpPostClientInvocation(getContext(), tagList, getResourceName(), id.getValue(), Constants.PARAM_TAGS);
      }
    }
    for (int idx = 0; idx < theArgs.length; idx++) {
      IParameter nextParam = getParameters().get(idx);
      nextParam.translateClientArgumentIntoQueryArgument(getContext(), theArgs[idx], null, retVal);
    }

    return retVal;
  }
View Full Code Here

Examples of com.adobe.ac.pmd.nodes.IParameter

      return ViolationPriority.NORMAL;
   }

   private boolean hasMessageProcessorParameter( final IFunction function )
   {
      final IParameter param = function.getParameters().get( 0 );
      final String type = param.getType().toString();
      return "MessageProcessor".equals( type );
   }
View Full Code Here

Examples of net.sf.jmd.metarepresentation.IParameter

      List<IDifference> results = membersModified.check(differences);
        assertNotNull("The results must not be null", results);
        assertTrue(results.isEmpty());
       
        //now we modify a bit and run the check again.
        IParameter parameter = new Parameter();
        parameter.setName("newSize");
        ((IOperation)dmMember).addParameter(parameter);
        results = membersModified.check(differences);
        int size = results.size();
        assertTrue("Now there must be a difference <" + size + ">", size == 1);
    }
View Full Code Here

Examples of net.sf.jmd.metarepresentation.IParameter

      List<IDifference> results = membersModified.check(differences);
        assertNotNull("The results must not be null", results);
        assertTrue(results.isEmpty());
       
        //now we modify a bit and run the check again.
        IParameter parameter = new Parameter();
        parameter.setName("newSize");
        ((IOperation)dmMember).addParameter(parameter);
        results = membersModified.check(differences);
        int size = results.size();
        assertTrue("Now there must be a difference <" + size + ">", size == 1);
    }
View Full Code Here

Examples of org.eclipse.core.commands.IParameter

                    ICommandService cService = (ICommandService) getSite().getService(ICommandService.class);
                    IHandlerService handlerService = (IHandlerService) getSite().getService(IHandlerService.class);
                   
                    Command command = cService.getCommand("de.innovationgate.eclipse.ids.commands.OpenModuleInBrowser");
                   
                    IParameter paramTMLFile = command.getParameter("de.innovationgate.eclipse.ids.commands.OpenModuleInBrowser.paramTMLFilePath");
 
                    Parameterization parm = new Parameterization(paramTMLFile, getInputFile().getFullPath().toString());
      
                    ParameterizedCommand parmCommand = new ParameterizedCommand(command, new Parameterization[] { parm });
View Full Code Here

Examples of org.eclipse.core.commands.IParameter

      ArrayList parmList = new ArrayList();
      Iterator i = parameters.entrySet().iterator();
      while (i.hasNext()) {
        Map.Entry entry = (Map.Entry) i.next();
        String parmName = (String) entry.getKey();
        IParameter parm;
        parm = cmd.getParameter(parmName);
        if (parm == null) {
          WorkbenchPlugin
              .log("Unable to create menu item \"" + getId() //$NON-NLS-1$
                  + "\", parameter \"" + parmName + "\" for command \"" //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.core.commands.IParameter

      final boolean makeFast) {
    Command c = commandService.getCommand(SHOW_VIEW_ID);
    Parameterization[] parms = null;
    if (makeFast) {
      try {
        IParameter parmDef = c.getParameter(PARAMETER_MAKE_FAST);
        parms = new Parameterization[] {
            new Parameterization(parmDef, "true") //$NON-NLS-1$
        };
      } catch (NotDefinedException e) {
        // this should never happen
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.