Examples of DomainType


Examples of org.openiaml.model.model.domain.DomainType

    return HasDomainAttribute.class;
  }

  public void testNotPrimaryKey() throws Exception {
   
    DomainType d1 = assertHasDomainType(root, "Not Empty");
    DomainAttribute a1 = assertHasDomainAttribute(d1, "attr1");
    DomainType d3 = assertHasDomainType(root, "Generated Primary Key");
    DomainAttribute a2 = assertHasDomainAttribute(d3, "generated primary key");
   
    assertTrue(getHelper().notPrimaryKey(a1));
    assertFalse(getHelper().notPrimaryKey(a2));
   
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

   * @throws Exception
   */
  public void testInitial() throws Exception {
    root = loadDirectly(DomainInheritanceEditing.class);

    DomainType student = assertHasDomainType(root, "Student");
    assertNotGenerated(student);

  }
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

      assertHasNone(form, "iaml:children");
      assertNotGenerated(page);
      assertNotGenerated(form);
    }
   
    DomainType person = assertHasDomainType(root, "Person");
    assertNotGenerated(person);
    DomainType q = assertHasDomainType(root, "Qualified");
    assertNotGenerated(q);
    DomainType t = assertHasDomainType(root, "Teacher");
    assertNotGenerated(t);
    DomainType s = assertHasDomainType(root, "Student");
    assertNotGenerated(s);
    DomainType pg = assertHasDomainType(root, "Postgraduate");
    assertNotGenerated(pg);
    DomainType d = assertHasDomainType(root, "Doctoral");
    assertNotGenerated(d);
    DomainType cu = assertHasDomainType(root, "Completed Undergrad");
    assertNotGenerated(cu);

  }
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

    ExtendsEdge ext = (ExtendsEdge) edges.iterator().next();
   
    DomainAttribute targetAttr = (DomainAttribute) ext.getTo();
    assertNotNull(targetAttr);
   
    DomainType targetObj = (DomainType) targetAttr.eContainer();
    assertNotNull(targetObj);   
    assertEquals(name, targetObj.getName());
  }
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

   * @throws Exception
   */
  public void testDomainTypes() throws Exception {
    root = loadDirectly(TESTED_MODEL);

    DomainType obj = assertHasDomainType(root, "User");
    assertBreadcrumb("InternetApplication > DomainType: 'User'", obj);

    DomainAttribute password = assertHasDomainAttribute(obj, "password");
    assertBreadcrumb("InternetApplication > DomainType: 'User' > DomainAttribute: 'password'", password);

View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

  public void testInitial() throws Exception {

    Frame home = assertHasFrame(root, "Home");
    assertNotGenerated(home);

    DomainType schema = assertHasDomainType(root, "Contacts");
    assertNotGenerated(schema);

    DomainAttribute aemail = assertHasDomainAttribute(schema, "email");
    assertNotGenerated(aemail);
    DomainAttribute aname = assertHasDomainAttribute(schema, "name");
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

   *
   * @throws Exception
   */
  public void testIteratorListCreated() throws Exception {

    DomainType schema = assertHasDomainType(root, "Contacts");
    DomainAttribute aemail = assertHasDomainAttribute(schema, "email");
    DomainAttribute aname = assertHasDomainAttribute(schema, "name");

    Frame home = assertHasFrame(root, "Home");
    DomainIterator iterator = assertHasDomainIterator(home, "Select Contact");
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

   *
   * @throws Exception
   */
  public void testCreatedLabelOnclickPopulatesTarget_Name() throws Exception {

    DomainType schema = assertHasDomainType(root, "Contacts");
    DomainAttribute aemail = assertHasDomainAttribute(schema, "email");
    Frame home = assertHasFrame(root, "Home");
    InputForm containerForm = assertHasInputForm(home, "Select Contact");
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    Label lname = assertHasLabel(list, "name");
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

   *
   * @throws Exception
   */
  public void testCreatedLabelOnclickPopulatesTarget_Email() throws Exception {

    DomainType schema = assertHasDomainType(root, "Contacts");
    DomainAttribute aemail = assertHasDomainAttribute(schema, "email");
    Frame home = assertHasFrame(root, "Home");
    InputForm containerForm = assertHasInputForm(home, "Select Contact");
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    Label lemail = assertHasLabel(list, "email");
View Full Code Here

Examples of org.openiaml.model.model.domain.DomainType

    assertNotGenerated(instance);

    InputForm form = assertHasInputForm(home, "view news");
    assertNotGenerated(form);

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

    assertEquals(5, instance.getLimit());

    SetWire wire = assertHasSetWire(root, instance, form);
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.