Package net.opengis.ows20

Examples of net.opengis.ows20.OperationsMetadataType


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetOperationsMetadata(OperationsMetadataType newOperationsMetadata, NotificationChain msgs) {
    OperationsMetadataType oldOperationsMetadata = operationsMetadata;
    operationsMetadata = newOperationsMetadata;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows10Package.CAPABILITIES_BASE_TYPE__OPERATIONS_METADATA, oldOperationsMetadata, newOperationsMetadata);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here


            if (baseUrl == null) {
                throw new IllegalArgumentException("Request object" + request
                        + " has no 'baseUrl' property.");
            }

            OperationsMetadataType operationsMetadata = owsf.createOperationsMetadataType();
            caps.setOperationsMetadata(operationsMetadata);

            OperationMetadata_GetCapabilities(owsf, baseUrl, operationsMetadata);
            OperationMetadata_DescribeRecord(owsf, baseUrl, operationsMetadata);
            OperationMetadata_GetDomain(owsf, baseUrl, operationsMetadata);
            OperationMetadata_GetRecords(owsf, baseUrl, operationsMetadata);
            OperationMetadata_GetRecordById(owsf, baseUrl, operationsMetadata);
            if (store.getCapabilities().supportsTransactions()) {
                OperationMetadata_Transaction(owsf, baseUrl, operationsMetadata);
            }
           
            // - Parameters
            for (DomainType param : operationParameters.get("OperationsMetadata"))
            {
                // clone the object, as the caps decorators might want to modify it
                operationsMetadata.getParameter().add(EcoreUtil.copy(param));
            }

            // - Constraints
            for (DomainType constraint : operationConstraints.get("OperationsMetadata"))
            {
                // clone the object, as the caps decorators might want to modify it
                operationsMetadata.getConstraint().add(EcoreUtil.copy(constraint));
            }
        }

        // Filter Capabilities
        // this part is not optional, the schema has min = 0, so we don't check for the sections
View Full Code Here

public class CSWTestDecorator implements CapabilitiesDecorator {

  @Override
  public CapabilitiesType decorate(CapabilitiesType caps, CatalogStore store) {
    // amend GetRecords
    OperationsMetadataType operations = caps.getOperationsMetadata();
    OperationType gro = getOperation("GetRecords", operations);

    DomainType outputFormats = getParameter("outputFormat", gro);
    outputFormats.getValue().add("text/xml");
View Full Code Here

        sp.setProviderSite(owsf.createOnlineResourceType());
        sp.getProviderSite().setHref( geoServer.getOnlineResource() );
        sp.setServiceContact( responsibleParty( geoServer, owsf ) );
       
        //OperationsMetadata
        OperationsMetadataType om = owsf.createOperationsMetadataType();
        caps.setOperationsMetadata( om );
       
        OperationType gco = owsf.createOperationType();
        gco.setName("GetCapabilities");
        gco.getDCP().add( Ows11Util.dcp( "wps", gco.getName(), request ) );
        om.getOperation().add( gco );
       
        OperationType dpo = owsf.createOperationType();
        dpo.setName( "DescribeProcess");
        dpo.getDCP().add( Ows11Util.dcp( "wps", dpo.getName(), request ) );
        om.getOperation().add( dpo );
       
        OperationType eo = owsf.createOperationType();
        eo.setName( "Execute" );
        eo.getDCP().add( Ows11Util.dcp( "wps", eo.getName(), request ) );
        om.getOperation().add( eo );
       
        ProcessOfferingsType po = wpsf.createProcessOfferingsType();
        caps.setProcessOfferings( po );
       
        for(ProcessFactory pf : Processors.getProcessFactories()) {
View Full Code Here

        assertTrue(o instanceof Map);

        Map caps = (Map) o;
        assertTrue(caps.containsKey("OperationsMetadata"));

        OperationsMetadataType om = (OperationsMetadataType) caps.get("OperationsMetadata");
        assertEquals(3, om.getOperation().size());

        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());
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetOperationsMetadata(OperationsMetadataType newOperationsMetadata, NotificationChain msgs) {
        OperationsMetadataType oldOperationsMetadata = operationsMetadata;
        operationsMetadata = newOperationsMetadata;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows11Package.CAPABILITIES_BASE_TYPE__OPERATIONS_METADATA, oldOperationsMetadata, newOperationsMetadata);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

        sp.setProviderSite(owsf.createOnlineResourceType());
        sp.getProviderSite().setHref(settings.getOnlineResource());
        sp.setServiceContact(responsibleParty(settings, owsf));

        // OperationsMetadata
        OperationsMetadataType om = owsf.createOperationsMetadataType();
        caps.setOperationsMetadata(om);

        OperationType gco = owsf.createOperationType();
        gco.setName("GetCapabilities");
        gco.getDCP().add(Ows11Util.dcp("wps", request));
        om.getOperation().add(gco);

        OperationType dpo = owsf.createOperationType();
        dpo.setName("DescribeProcess");
        dpo.getDCP().add(Ows11Util.dcp("wps", request));
        om.getOperation().add(dpo);

        OperationType eo = owsf.createOperationType();
        eo.setName("Execute");
        eo.getDCP().add(Ows11Util.dcp("wps", request));
        om.getOperation().add(eo);

        ProcessOfferingsType po = wpsf.createProcessOfferingsType();
        caps.setProcessOfferings(po);

        // gather the process list
View Full Code Here

        sp.setProviderSite(owsf.createOnlineResourceType());
        sp.getProviderSite().setHref(geoServer.getOnlineResource());
        sp.setServiceContact(responsibleParty(geoServer, owsf));

        // OperationsMetadata
        OperationsMetadataType om = owsf.createOperationsMetadataType();
        caps.setOperationsMetadata(om);

        OperationType gco = owsf.createOperationType();
        gco.setName("GetCapabilities");
        gco.getDCP().add(Ows11Util.dcp("wps", request));
        om.getOperation().add(gco);

        OperationType dpo = owsf.createOperationType();
        dpo.setName("DescribeProcess");
        dpo.getDCP().add(Ows11Util.dcp("wps", request));
        om.getOperation().add(dpo);

        OperationType eo = owsf.createOperationType();
        eo.setName("Execute");
        eo.getDCP().add(Ows11Util.dcp("wps", request));
        om.getOperation().add(eo);

        ProcessOfferingsType po = wpsf.createProcessOfferingsType();
        caps.setProcessOfferings(po);

        // gather the process list
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetAcceptFormats(AcceptFormatsType newAcceptFormats, NotificationChain msgs) {
        AcceptFormatsType oldAcceptFormats = acceptFormats;
        acceptFormats = newAcceptFormats;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows20Package.GET_CAPABILITIES_TYPE__ACCEPT_FORMATS, oldAcceptFormats, newAcceptFormats);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetAcceptLanguages(AcceptLanguagesType newAcceptLanguages, NotificationChain msgs) {
        AcceptLanguagesType oldAcceptLanguages = acceptLanguages;
        acceptLanguages = newAcceptLanguages;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Ows20Package.GET_CAPABILITIES_TYPE__ACCEPT_LANGUAGES, oldAcceptLanguages, newAcceptLanguages);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

TOP

Related Classes of net.opengis.ows20.OperationsMetadataType

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.