Examples of ExternalValue


Examples of org.openiaml.model.model.operations.ExternalValue

    assertHasDataFlowEdge(update, param, cast);
    assertHasDataFlowEdge(update, cast, check);
    assertHasDataFlowEdge(update, cast, set);

    assertEquals(1, set.getOutFlows().size());
    ExternalValue ev_f2 = (ExternalValue) set.getOutFlows().get(0).getTo();
    Value f2 = ev_f2.getValue();
    assertEquals("fieldValue", f2.getName());

  }
View Full Code Here

Examples of org.openiaml.model.model.operations.ExternalValue

    assertHasDataFlowEdge(init, param, cast);
    assertHasDataFlowEdge(init, cast, check);
    assertHasDataFlowEdge(init, cast, set);

    assertEquals(1, set.getOutFlows().size());
    ExternalValue ev_f2 = (ExternalValue) set.getOutFlows().get(0).getTo();
    Value f2 = ev_f2.getValue();
    assertEquals("fieldValue", f2.getName());

  }
View Full Code Here

Examples of org.openiaml.model.model.operations.ExternalValue

    // cast -> ExternalValue -> integerValue
    {
      assertEquals(2, cast.getOutFlows().size());
      assertEquals(1, cast.getInFlows().size());
      ExternalValue ev = (ExternalValue) cast.getOutFlows().get(0).getTo();
      assertEquals(integerValue, ev.getValue());
    }
   
    CancelNode cancel = assertHasCancelNode(canCast);
    FinishNode finish = assertHasFinishNode(canCast);
View Full Code Here

Examples of org.openiaml.model.model.operations.ExternalValue

    assertHasExecutionEdge(cond, check, cancel);
   
    // check <- ExternalValue <- value
    {
      assertEquals(1, check.getInFlows().size());
      ExternalValue ev = (ExternalValue) check.getInFlows().get(0).getFrom();
      assertEquals(value, ev.getValue());
    }

  }
View Full Code Here

Examples of org.openiaml.model.model.operations.ExternalValue

    assertHasDataFlowEdge(update, param, cast);
    assertHasDataFlowEdge(update, cast, check);
    assertHasDataFlowEdge(update, cast, set);

    assertEquals(1, set.getOutFlows().size());
    ExternalValue ev_f2 = (ExternalValue) set.getOutFlows().get(0).getTo();
    Value f2 = ev_f2.getValue();
    assertEquals("set directly", f2.getName());

  }
View Full Code Here

Examples of org.springframework.config.java.annotation.ExternalValue

    super(ExternalValue.class);
    this.valueSource = null;
  }

  public Object processMethod(Method m) throws ValueResolutionException {
    ExternalValue ev = m.getAnnotation(ExternalValue.class);
    Assert.notNull(ev, "method must be annotated with @ExternalValue");

    String name = ev.value();
    if ("".equals(name)) {
      name = m.getName();
      // Strip property name if needed
      if (name.startsWith("get")) {
        name = Character.toLowerCase(name.charAt(3)) + name.substring(4);
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.