Examples of ResponsiblePartySubsetType


Examples of net.opengis.ows10.ResponsiblePartySubsetType

        assertEquals("2.0.2", si.getServiceTypeVersion());
       
        ServiceProviderType sp = caps.getServiceProvider();
        assertEquals("con terra GmbH", sp.getProviderName());
        assertEquals("http://www.conterra.de", sp.getProviderSite().getHref());
        ResponsiblePartySubsetType rp = sp.getServiceContact();
        assertEquals("Markus Neteler", rp.getIndividualName());
        assertEquals("GRASS leader", rp.getPositionName());
        ContactType ci = rp.getContactInfo();
        assertEquals("+49-251-7474-400", ci.getPhone().getVoice());
        assertEquals("Marting-Luther-King-Weg 24", ci.getAddress().getDeliveryPoint());
        assertEquals("Muenster", ci.getAddress().getCity());
        assertEquals("mailto:conterra@conterra.de", ci.getOnlineResource().getHref());
       
View Full Code Here

Examples of net.opengis.ows10.ResponsiblePartySubsetType

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetServiceContact(ResponsiblePartySubsetType newServiceContact, NotificationChain msgs) {
    ResponsiblePartySubsetType oldServiceContact = serviceContact;
    serviceContact = newServiceContact;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows10Package.SERVICE_PROVIDER_TYPE__SERVICE_CONTACT, oldServiceContact, newServiceContact);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of net.opengis.ows10.ResponsiblePartySubsetType

            OnlineResourceType providerSite = owsf.createOnlineResourceType();
            sp.setProviderSite(providerSite);
            providerSite.setHref((csw.getOnlineResource() != null ? csw.getOnlineResource() : ""));

            ResponsiblePartySubsetType serviceContact = owsf.createResponsiblePartySubsetType();
            sp.setServiceContact(serviceContact);
            serviceContact.setIndividualName(contact.getContactPerson());
            serviceContact.setPositionName(contact.getContactPosition());

            ContactType contactInfo = owsf.createContactType();
            serviceContact.setContactInfo(contactInfo);
            AddressType address = owsf.createAddressType();
            contactInfo.setAddress(address);
            address.setAdministrativeArea(contact.getAddressState());
            address.setCity(contact.getAddressCity());
            address.setCountry(contact.getAddressCountry());
            address.setDeliveryPoint(null);
            address.setElectronicMailAddress(contact.getContactEmail());
            address.setPostalCode(contact.getAddressPostalCode());

            contactInfo.setContactInstructions(null);
            contactInfo.setHoursOfService(null);

            OnlineResourceType onlineResource = owsf.createOnlineResourceType();
            contactInfo.setOnlineResource(onlineResource);
            onlineResource.setHref(contact.getOnlineResource());

            TelephoneType telephone = owsf.createTelephoneType();
            contactInfo.setPhone(telephone);
            telephone.setFacsimile(contact.getContactFacsimile());
            telephone.setVoice(contact.getContactVoice());

            serviceContact.setRole(null);
        }

        // Operations Metadata
        if (sections == null || requestedSection("OperationsMetadata", sections)) {
            final String baseUrl = (String) EMFUtils.get(request, "baseUrl");
View Full Code Here

Examples of net.opengis.ows11.ResponsiblePartySubsetType

        return caps;
        // Version detection and alternative invocation if being implemented.
    }
   
    ResponsiblePartySubsetType responsibleParty( GeoServerInfo global, Ows11Factory f ) {
        ResponsiblePartySubsetType rp = f.createResponsiblePartySubsetType();
        return rp;
    }
View Full Code Here

Examples of net.opengis.ows11.ResponsiblePartySubsetType

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetServiceContact(ResponsiblePartySubsetType newServiceContact, NotificationChain msgs) {
        ResponsiblePartySubsetType oldServiceContact = serviceContact;
        serviceContact = newServiceContact;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.SERVICE_PROVIDER_TYPE__SERVICE_CONTACT, oldServiceContact, newServiceContact);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

Examples of net.opengis.ows11.ResponsiblePartySubsetType

    void assertServiceProvider( ServiceProviderType sp ) {
        assertNotNull( sp );
        assertEquals( "Agriculture and Agri-Food Canada", sp.getProviderName() );
        assertEquals( "http://gis.agr.gc.ca/", sp.getProviderSite().getHref() );
       
        ResponsiblePartySubsetType sc = sp.getServiceContact();
        assertNotNull( sc );
        assertEquals( "Peter Schut", sc.getIndividualName() );
       
        ContactType ci = sc.getContactInfo();
        assertNotNull( ci );
        assertEquals( 1, ci.getPhone().getVoice().size() );
        assertEquals( "+1 613 759-1874", ci.getPhone().getVoice().get( 0 ) );
        assertEquals( 1, ci.getPhone().getFacsimile().size() );
        assertEquals( "+1 613 759-1937", ci.getPhone().getFacsimile().get( 0 ) );
View Full Code Here

Examples of net.opengis.ows11.ResponsiblePartySubsetType

    }

   

    ResponsiblePartySubsetType responsibleParty(SettingsInfo settings, Ows11Factory f) {
        ResponsiblePartySubsetType rp = f.createResponsiblePartySubsetType();
        return rp;
    }
View Full Code Here

Examples of net.opengis.ows11.ResponsiblePartySubsetType

        return PROCESS_BLACKLIST;
    }

    ResponsiblePartySubsetType responsibleParty(GeoServerInfo global, Ows11Factory f) {
        ResponsiblePartySubsetType rp = f.createResponsiblePartySubsetType();
        return rp;
    }
View Full Code Here

Examples of net.opengis.ows20.ResponsiblePartySubsetType

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetServiceContact(ResponsiblePartySubsetType newServiceContact, NotificationChain msgs) {
        ResponsiblePartySubsetType oldServiceContact = serviceContact;
        serviceContact = newServiceContact;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows20Package.SERVICE_PROVIDER_TYPE__SERVICE_CONTACT, oldServiceContact, newServiceContact);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
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.