Package org.openiaml.model.model

Examples of org.openiaml.model.model.Function


    Value instanceValue = assertHasFieldValue(nameInstance);
    Parameter param = assertHasParameter(root, instanceValue, run);
    assertGenerated(param);

    // the Function on the object instance
    Function exists = studentInstance.getEmpty();
    assertGenerated(exists);

    // NOT connected to the run instance wire
    Set<ComplexTerm> conds = getComplexTermsFromTo(root, exists, run);
    assertEquals(conds.toString(), 0, conds.size());
View Full Code Here


    // the AttributeInstance and the InputTextField should be synchronised too
    assertGenerated(assertHasSyncWire(root, field, nameInstance));

    // the Function on the object instance
    Function notEmpty = assertHasFunction(studentInstance, "not empty");
    assertGenerated(notEmpty);

    // connected to the run instance wire
    SimpleCondition conditionEdge = assertHasSimpleCondition(root, notEmpty, run, "check new instance exists");
    assertGenerated(conditionEdge);

    // NOT the 'exists?' condition, which is the reverse
    Function exists = studentInstance.getEmpty();
    assertGenerated(exists);

    assertHasNoSimpleConditions(root, exists, run, "check new instance exists");

  }
View Full Code Here

    Label openid = assertHasLabel(see, "Current OpenID");
    Gate gate = session.getEntryGate();
    assertEquals("Entry Gate", gate.getName());

    // a Function is set within the openid label, "fieldValue is set"
    Function cond = assertHasFunction(openid, "fieldValue is set");
    assertGenerated(cond);

    // connected to the EventGate
    assertGenerated(assertHasSimpleCondition(root, cond, gate));
  }
View Full Code Here

    Frame enter = assertHasFrame(container, "Provide Current OpenID");
    InputTextField field = assertHasInputTextField(enter, "Current OpenID");

    // generated 'is set?' condition
    Function isSet = assertHasFunction(field, "fieldValue is set");
    assertGenerated(isSet);

    // connected to the RunAction
    assertGenerated(assertHasSimpleCondition(root, isSet, run));
View Full Code Here

    Frame enter = assertHasFrame(container, "Provide Current OpenID");
    InputTextField field = assertHasInputTextField(enter, "Current OpenID");
    Value fieldValue = assertHasFieldValue(field);

    // generated 'can cast?' Function on the target
    Function isSet = assertHasFunction(openid, "can cast?");
    assertGenerated(isSet);

    // connected to the RunAction
    SimpleCondition edge = assertHasSimpleCondition(root, isSet, run);
    assertGenerated(edge);
View Full Code Here

TOP

Related Classes of org.openiaml.model.model.Function

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.