Package org.openiaml.model.model.operations

Examples of org.openiaml.model.model.operations.ExecutionEdge


    setTo(edge, to);
    return edge;
  }
 
  public ExecutionEdge generatedExecutionEdge(GeneratesElements by, ActivityOperation container) throws InferenceException {
    ExecutionEdge edge = (ExecutionEdge) createElement( container, OperationsPackage.eINSTANCE.getExecutionEdge(), OperationsPackage.eINSTANCE.getActivityOperation_ExecutionEdges() );
    setGeneratedBy(edge, by);
    return edge;
  }
View Full Code Here


    setGeneratedBy(edge, by);
    return edge;
  }

  public ExecutionEdge generatedExecutionEdge(GeneratesElements by, ActivityOperation container, ExecutionEdgesSource from, ExecutionEdgeDestination to) throws InferenceException {
    ExecutionEdge edge = generatedExecutionEdge(by, container);
    setFrom(edge, from);
    setTo(edge, to);
    return edge;
  }
View Full Code Here

    setTo(edge, to);
    return edge;
  }

  public ExecutionEdge generatedExecutionEdge(GeneratesElements by, ActivityPredicate container) throws InferenceException {
    ExecutionEdge edge = (ExecutionEdge) createElement( container, OperationsPackage.eINSTANCE.getExecutionEdge(), OperationsPackage.eINSTANCE.getActivityPredicate_ExecutionEdges() );
    setGeneratedBy(edge, by);
    return edge;
  }
View Full Code Here

    setGeneratedBy(edge, by);
    return edge;
  }

  public ExecutionEdge generatedExecutionEdge(GeneratesElements by, ActivityPredicate container, ExecutionEdgesSource from, ExecutionEdgeDestination to) throws InferenceException {
    ExecutionEdge edge = generatedExecutionEdge(by, container);
    setFrom(edge, from);
    setTo(edge, to);
    return edge;
  }
View Full Code Here

   * the given elements.
   *
   * @return The element found
   */
  public static ExecutionEdge assertHasExecutionEdge(EObject container, ExecutionEdgesSource from, ExecutionEdgeDestination to) throws JaxenException {
    ExecutionEdge result = null;
    for (ExecutionEdge e : from.getOutExecutions()) {
      if (from.equals(e.getFrom()) && to.equals(e.getTo())) {
        if (result != null) {
          fail("Found more than one execution edge from '" + from + "' to '" + to + "'. First = '" + result + ", second = '" + e + "'");
        }
View Full Code Here

   * the given elements, and only with the given name.
   *
   * @return The element found
   */
  public static ExecutionEdge assertHasExecutionEdge(EObject container, ExecutionEdgesSource from, ExecutionEdgeDestination to, String name) throws JaxenException {
    ExecutionEdge result = null;
    for (ExecutionEdge e : from.getOutExecutions()) {
      if (from.equals(e.getFrom()) && to.equals(e.getTo()) && name.equals(e.getName())) {
        if (result != null) {
          fail("Found more than one execution edge from '" + from + "' to '" + to + "' with name '" + name + "'. First = '" + result + ", second = '" + e + "'");
        }
View Full Code Here

TOP

Related Classes of org.openiaml.model.model.operations.ExecutionEdge

Copyright © 2018 www.massapicom. 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.