Examples of OperationCallNode


Examples of org.openiaml.model.model.operations.OperationCallNode

    setGeneratedBy(node, by);
    return node;
  }

  public OperationCallNode generatedOperationCallNode(GeneratesElements by, ActivityOperation container) throws InferenceException {
    OperationCallNode node = (OperationCallNode) createElement( container, OperationsPackage.eINSTANCE.getOperationCallNode(), OperationsPackage.eINSTANCE.getActivityOperation_Nodes() );
    setGeneratedBy(node, by);
    return node;
  }
View Full Code Here

Examples of org.openiaml.model.model.operations.OperationCallNode

    setGeneratedBy(node, by);
    return node;
  }

  public OperationCallNode generatedOperationCallNode(GeneratesElements by, ActivityPredicate container) throws InferenceException {
    OperationCallNode node = (OperationCallNode) createElement( container, OperationsPackage.eINSTANCE.getOperationCallNode(), OperationsPackage.eINSTANCE.getActivityPredicate_Nodes() );
    setGeneratedBy(node, by);
    return node;
  }
View Full Code Here

Examples of org.openiaml.model.model.operations.OperationCallNode

   
    // cast -> check
    assertHasDataFlowEdge(validate, cast, check);

    // 'y' runs 'hide'
    OperationCallNode callHide = assertHasOperationCallNode(validate, "call hide");
    assertHasRunAction(validate, callHide, hide);
    assertHasExecutionEdge(validate, check, callHide, "yes");

    // 'n' first sets the value of the label
    OperationCallNode callUpdate = assertHasOperationCallNode(validate, "update label");
    ECARule runUpdate = assertHasRunAction(validate, callUpdate, update);
    assertHasExecutionEdge(validate, check, callUpdate, "no");

    // with a parmameter of the exception
    Value warning = assertHasValue(validate, "failure message");
    assertTrue(warning.isReadOnly());
    assertEquals("Warning: Invalid input.", warning.getDefaultValue());
    assertHasParameter(validate, warning, runUpdate);

    // and then 'n' calls 'show'
    OperationCallNode callShow = assertHasOperationCallNode(validate, "call show");
    assertHasRunAction(validate, callShow, show);
    assertHasExecutionEdge(validate, callUpdate, callShow);

    // 'callHide' then terminates
    assertGenerated(assertGoesToFinishNode(callHide));
View Full Code Here

Examples of org.openiaml.model.model.operations.OperationCallNode

    assertGenerated(start);
    FinishNode end = assertHasFinishNode(op);
    assertGenerated(end);
    CancelNode cancel = assertHasCancelNode(op);
    assertGenerated(cancel);
    OperationCallNode virtualOp = assertHasOperationCallNode(op, "call permissions operation");
    assertGenerated(virtualOp);
    ECARule virtualRun = assertHasECARule(op, virtualOp, targetOp, "run");
    assertGenerated(virtualRun);

    // execution edges between all the operations
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.