Examples of Operation


Examples of com.volantis.map.operation.Operation

                            ref.getProperty("service.pid"),
                            ref.getBundle().getSymbolicName()
                        };
                        LOGGER.error("service-has-been-unregistered", params);
                    } else {
                        Operation operation =
                            (Operation) service;
                        result  = operation.execute(
                            descriptor, request, response);
                    }
                }
                if (result == Result.UNSUPPORTED) {
                    throw new OperationNotFoundException(
View Full Code Here

Examples of com.volantis.mcs.interaction.operation.Operation

     */
    private void setModelContent(ContentBuilder content) {
        BeanProxy selectedVariant = context.getSelectedVariant();
        if (selectedVariant != null) {
            Proxy contentProxy = selectedVariant.getPropertyProxy(PolicyModel.CONTENT);
            Operation setContent = contentProxy.prepareSetModelObjectOperation(content);
            context.executeOperation(setContent);
        }
    }
View Full Code Here

Examples of com.wordnik.swagger.model.Operation

      List<String> producesMediaTypes = (List<String>) operationResultMap.get("produces");
      List<String> consumesMediaTypes = (List<String>) operationResultMap.get("consumes");
      List<Parameter> parameterList = (List<Parameter>) operationResultMap.get("parameters");
      List<Authorization> authorizations = (List<Authorization>) operationResultMap.get("authorizations");

      Operation operation = new Operation(
              (String) operationResultMap.get("httpRequestMethod"),
              (String) operationResultMap.get("summary"),
              (String) operationResultMap.get("notes"),
              (String) operationResultMap.get("responseClass"),
              (String) operationResultMap.get("nickname"),
View Full Code Here

Examples of de.fu_berlin.inf.dpp.concurrent.jupiter.Operation

                "Jupiter expects timestamps of type JupiterVectorTime");
        }
        checkPreconditions((JupiterVectorTime) timestamp);
        discardAcknowledgedOperations((JupiterVectorTime) timestamp);

        Operation newOp = transform(jupiterActivity.getOperation());
        this.vectorTime = this.vectorTime.incrementRemoteOperationCount();
        return newOp;

    }
View Full Code Here

Examples of de.iritgo.aktera.authorization.Operation

   *
   * @return True if the component is allowed at all, false if it is denied
   */
  public boolean allowed(Object component, UserEnvironment ue) throws AuthorizationException
  {
    Operation o = new DefaultOperation();

    o.setOperationCode("*");
    o.setService(component);

    return allowed(o, ue);
  }
View Full Code Here

Examples of dk.brics.string.stringoperations.Operation

            done = true;
            for (Component c : comp.getComponents()) {
                int cycles = 0;
                Nonterminal max_nt = null;
                Production max_prod = null;
                Operation max_op = null;
                // look for operation cycles in this component
                for (Nonterminal n : c.getNodes()) {
                    for (Production p : n.getProductions()) {
                        CycleVisitor v = new CycleVisitor(c);
                        p.visitBy(n, v);
                        if (v.is_cycle) {
                            if (cycles == 0 || v.op.getPriority() > max_op.getPriority()) { // assume that the operations are different objects
                                max_nt = n;
                                max_prod = p;
                                max_op = v.op;
                            }
                            cycles++;
View Full Code Here

Examples of edu.cmu.cs.fusion.constraint.Operation

  @Test
  public void testEOMEmpty() throws ParseException {
    String string = "EOM";
   
    FPLParser parser = new FPLParser(string, null, new StubIType());
    Operation op = parser.operation();
   
    Assert.assertTrue("Parsed predicate should be a EOM, but is " + op.getClass().getCanonicalName(), op instanceof EndOfMethodOp);
   
    EndOfMethodOp invoke = (EndOfMethodOp)op;
       
    FreeVars vars = invoke.getFreeVariables();
    Assert.assertEquals("Wrong number of free vars", 0, vars.size());   
View Full Code Here

Examples of edu.isi.karma.controller.command.selection.LargeSelection.Operation

    if (currentSel == null) {
      currentSel = new MiniSelection(workspace, worksheetId, hTable.getId(), factory.getNewId("SEL"), superSel.getName(), SelectionManager.defaultCode, onError);
      worksheet.getSelectionManager().addSelection(currentSel);
    }
    try {
      Operation operation = Operation.valueOf(Operation.class, this.operation);
      Selection t = new LargeSelection(workspace, worksheetId, hTable.getId(), factory.getNewId("SEL"), superSel.getName(), currentSel, anotherSel, operation);
      worksheet.getSelectionManager().addSelection(t);
      outputColumns.addAll(t.getInputColumns());
      previousSelection = superSel.getSelection(t.getHTableId());
      if (previousSelection != null)
View Full Code Here

Examples of fr.dyade.aaa.util.Operation

    if (logmon.isLoggable(BasicLevel.DEBUG))
      logmon.log(BasicLevel.DEBUG,
                 "NGTransaction, saveInLog(" + dirName + '/' + name + ", " + copy + ", " + first + ")");

    Object key = OperationKey.newKey(dirName, name);
    Operation op = null;
    if (first)
      op = Operation.alloc(Operation.CREATE, dirName, name, buf);
    else
      op = Operation.alloc(Operation.SAVE, dirName, name, buf);
    Operation old = (Operation) log.put(key, op);
    if (copy) {
      if ((old != null) &&
          (old.type == Operation.SAVE) &&
          (old.value.length == buf.length)) {
        // reuse old buffer
        op.value = old.value;
      } else {
        // alloc a new one
        op.value = new byte[buf.length];
      }
      System.arraycopy(buf, 0, op.value, 0, buf.length);
    }
    if (old != null) old.free();

  }
View Full Code Here

Examples of fr.tm.elibel.smartqvt.qvt.emof.Operation

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setOperation(Operation newOperation) {
    Operation oldOperation = operation;
    operation = newOperation;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TracePackage.TRACE__OPERATION, oldOperation, operation));
  }
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.