Examples of SetWire


Examples of org.openiaml.model.model.wires.SetWire

    setGeneratedBy(wire, by);
    return wire;
  }

  public SetWire generatedSetWire(GeneratesElements by, ContainsWires container, WireSource source, WireDestination target) throws InferenceException {
    SetWire wire = (SetWire) createRelationship(container, WiresPackage.eINSTANCE.getSetWire(), source, target, ModelPackage.eINSTANCE.getContainsWires_Wires(), ModelPackage.eINSTANCE.getWire_From(), ModelPackage.eINSTANCE.getWire_To());
    setGeneratedBy(wire, by);
    return wire;
  }
View Full Code Here

Examples of org.openiaml.model.model.wires.SetWire

    assertGenerated(getParameterFromTo(handler, currentPassword, instance));

    // there should be a set wire connecting to the generated property
    {
      Set<Wire> wires2 = assertHasWiresFromTo(1, handler, handler, currentPassword);
      SetWire set = (SetWire) wires2.iterator().next();
      assertGenerated(set);
    }

  }
View Full Code Here

Examples of org.openiaml.model.model.wires.SetWire

    // user instance
    DomainIterator instance = assertHasDomainIterator(session, "current instance");
    assertGenerated(instance);

    // a Set wire: [handler] --> [instance]
    SetWire set = assertHasSetWire(session, handler, instance, "set");
    assertGenerated(set);

    // this user instance should have an 'empty' PrimitiveCondition
    BuiltinProperty exists = (BuiltinProperty) instance.getEmpty();
    assertGenerated(exists);
View Full Code Here

Examples of org.openiaml.model.model.wires.SetWire

    DomainType object = assertHasDomainType(root, "News Item");
    assertNotGenerated(object);

    assertEquals(5, instance.getLimit());

    SetWire wire = assertHasSetWire(root, instance, form);
    assertNotGenerated(wire);

  }
View Full Code Here

Examples of org.openiaml.model.model.wires.SetWire

    }

    // handler set--> key
    {
      Set<Wire> wires = assertHasWiresFromTo(1, handler, handler, key);
      SetWire nav = (SetWire) wires.iterator().next();
      assertNotGenerated(nav);
      assertEquals("set", nav.getName());
    }

  }
View Full Code Here

Examples of org.openiaml.model.model.wires.SetWire

    assertNotGenerated(source);
    InputTextField target = assertHasInputTextField(page, "target");
    assertNotGenerated(target);

    Set<Wire> wires = assertHasWiresFromTo(1, root, source, target);
    SetWire set = (SetWire) wires.iterator().next();
    assertNotGenerated(set);

    // there should be no events in either source or target
    assertHasNone(source, "iaml:eventTriggers");
    assertHasNone(source, "iaml: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.