Examples of DomainType


Examples of net.opengis.ows11.DomainType

        OperationType op = (OperationType) om.getOperation().get(0);
        assertEquals("GetCapabilities", op.getName());
       
        assertEquals(1, op.getParameter().size());
        DomainType d = (DomainType) op.getParameter().get(0);
        assertEquals("Format", d.getName());

        assertEquals(1, d.getAllowedValues().getValue().size());

        ValueType v =  (ValueType) d.getAllowedValues().getValue().get(0);
        assertEquals("text/xml", v.getValue());
    }
View Full Code Here

Examples of org.geotools.gce.imagemosaic.catalog.index.DomainType

            if (domains == null) {
                domains = Utils.OBJECT_FACTORY.createDomainsType();
                coverage.setDomains(domains);
                domainList = domains.getDomain();
            }
            DomainType domain = Utils.OBJECT_FACTORY.createDomainType();
            domain.setName(Utils.TIME_DOMAIN.toLowerCase());
            IndexerUtils.setAttributes(domain, props.getProperty(Prop.TIME_ATTRIBUTE));
            domainList.add(domain);
        }

        // elevation attr
        if (props.containsKey(Prop.ELEVATION_ATTRIBUTE)) {
            if (domains == null) {
                domains = Utils.OBJECT_FACTORY.createDomainsType();
                coverage.setDomains(domains);
                domainList = domains.getDomain();
            }
            DomainType domain = Utils.OBJECT_FACTORY.createDomainType();
            domain.setName(Utils.ELEVATION_DOMAIN.toLowerCase());
            IndexerUtils.setAttributes(domain, props.getProperty(Prop.ELEVATION_ATTRIBUTE));
            domainList.add(domain);
        }

        // Additional domain attr
View Full Code Here

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

   */
  public DomainSource getOriginalDomainSource(Role root_role) {
 
    for (ExtendsEdge ex : root_role.getInExtendsEdges()) {
      if (ex.getFrom() instanceof DomainType) {
        DomainType schema = (DomainType) ex.getFrom();
       
        for (SchemaEdge se : schema.getInSchemas()) {
          // return the first one found
          return se.getFrom();
        }
      }
    }
View Full Code Here

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

    setGeneratedBy(event, by);
    return event;
  }

  public DomainType generatedDomainType(GeneratesElements by, InternetApplication container) throws InferenceException {
    DomainType obj = createDomainType(container);
    setGeneratedBy(obj, by);
    return obj;
  }
View Full Code Here

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

    return obj;
  }

  // used by tests.diagram
  public DomainType createDomainType(InternetApplication container) throws InferenceException {
    DomainType obj = (DomainType) createElement( container, DomainPackage.eINSTANCE.getDomainType(), ModelPackage.eINSTANCE.getInternetApplication_Types() );
    return obj;
  }
View Full Code Here

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

    // initially just the default page
    assertEditorHasChildren(1, editor);

    // create a DomainStore
    DomainType ds = gmf.createDomainType(root);
    assertNotNull(ds);

    // and a Frame
    Frame page = gmf.createFrame(root);
    assertNotNull(page);
View Full Code Here

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

    DomainSource store = assertHasDomainSource(root, "domain source");
    assertNotGenerated(store);
    Session session = assertHasSession(root, "my session");
    assertNotGenerated(session);

    DomainType obj = assertHasDomainType(root, "User");
    assertNotGenerated(obj);

    DomainAttribute password = assertHasDomainAttribute(obj, "password");
    assertNotGenerated(password);
View Full Code Here

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

   */
  public void testInitial() throws Exception {

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

    DomainType news = assertHasDomainType(root, "News");
    DomainSource db = assertHasDomainSource(root, "Database");
    assertHasSchemaEdge(db, news);

    IteratorList list = assertHasIteratorList(home, "List");
    DomainIterator iterator = assertHasDomainIterator(home, "select three news");
View Full Code Here

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

   *
   * @throws Exception
   */
  public void testDomainIteratorHasDomainAttributes() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    DomainType news = assertHasDomainType(root, "News");
    DomainIterator iterator = assertHasDomainIterator(home, "select three news");
    DomainInstance instance = iterator.getCurrentInstance();
    assertGenerated(instance);

    DomainAttributeInstance iid = assertHasDomainAttributeInstance(instance, "id");
View Full Code Here

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

   *
   * @throws Exception
   */
  public void testLabelsCreatedInList() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    DomainType news = assertHasDomainType(root, "News");
    IteratorList list = assertHasIteratorList(home, "List");

    Label lid = assertHasLabel(list, "id");
    Label ltitle = assertHasLabel(list, "title");
    Label lcontent = assertHasLabel(list, "content");
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.