Package net.opengis.wfs20

Examples of net.opengis.wfs20.ElementType


     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setReleaseAction(AllSomeType newReleaseAction) {
        AllSomeType oldReleaseAction = releaseAction;
        releaseAction = newReleaseAction == null ? RELEASE_ACTION_EDEFAULT : newReleaseAction;
        boolean oldReleaseActionESet = releaseActionESet;
        releaseActionESet = true;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET, Wfs20Package.TRANSACTION_TYPE__RELEASE_ACTION, oldReleaseAction, releaseAction, !oldReleaseActionESet));
View Full Code Here


     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void unsetReleaseAction() {
        AllSomeType oldReleaseAction = releaseAction;
        boolean oldReleaseActionESet = releaseActionESet;
        releaseAction = RELEASE_ACTION_EDEFAULT;
        releaseActionESet = false;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.UNSET, Wfs20Package.TRANSACTION_TYPE__RELEASE_ACTION, oldReleaseAction, RELEASE_ACTION_EDEFAULT, oldReleaseActionESet));
View Full Code Here

                throw new WFSException(request, "Error occured creating stored query", e);
            }
        }

        Wfs20Factory factory = Wfs20Factory.eINSTANCE;
        CreateStoredQueryResponseType response = factory.createCreateStoredQueryResponseType();
        response.setStatus("OK");
        return response;
    }
View Full Code Here

            "      </wfs:QueryExpressionText> " +
            "   </wfs:StoredQueryDefinition> " +
            "</wfs:CreateStoredQuery> ";
        buildDocument(xml);
       
        CreateStoredQueryType csq = (CreateStoredQueryType) parse();
        assertNotNull(csq);
       
        assertEquals(1, csq.getStoredQueryDefinition().size());
       
        StoredQueryDescriptionType  sqd = csq.getStoredQueryDefinition().get(0);
        assertEquals("Features In Polygon", sqd.getTitle().get(0).getValue());
       
        assertEquals(1, sqd.getParameter().size());
        ParameterExpressionType pe = sqd.getParameter().get(0);
        assertEquals("AreaOfInterest", pe.getName());
View Full Code Here

        buildDocument(xml);
       
        TransactionType t = (TransactionType) parse();
        assertEquals(1, t.getAbstractTransactionAction().size());
       
        DeleteType d = (DeleteType) t.getAbstractTransactionAction().get(0);
        assertNotNull(d.getFilter());
       
        Id id = (Id) d.getFilter();
        assertTrue(id.getIDs().contains("InWaterA_1M.1013"));

    }
View Full Code Here

            "<TypeName>myns:TreesA_1M</TypeName>" +
            "<TypeName>myns:RoadL_1M</TypeName>" +
         "</DescribeFeatureType>";
        buildDocument(xml);
       
        DescribeFeatureTypeType dft = (DescribeFeatureTypeType) parse();
        assertNotNull(dft);
       
        assertEquals(2, dft.getTypeName().size());
        assertEquals(new QName("http://www.myserver.com/myns", "TreesA_1M"), dft.getTypeName().get(0));
        assertEquals(new QName("http://www.myserver.com/myns", "RoadL_1M"), dft.getTypeName().get(1));
    }
View Full Code Here

    }
   
    public DescribeStoredQueriesResponseType run(DescribeStoredQueriesType request) throws WFSException {
       
        Wfs20Factory factory = Wfs20Factory.eINSTANCE;
        DescribeStoredQueriesResponseType response =
            factory.createDescribeStoredQueriesResponseType();
       
        List<StoredQueryProvider> providers =
            GeoServerExtensions.extensions(StoredQueryProvider.class);
       
View Full Code Here

            "   service='WFS' " +
            "   version='2.0.0' id='foobar'/> ";
           
        buildDocument(xml);
       
        DropStoredQueryType dsq = (DropStoredQueryType) parse();
        assertNotNull(dsq);
       
        assertEquals("foobar", dsq.getId());
    }
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetBoundedBy(EnvelopePropertyType newBoundedBy, NotificationChain msgs) {
        EnvelopePropertyType oldBoundedBy = boundedBy;
        boundedBy = newBoundedBy;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wfs20Package.SIMPLE_FEATURE_COLLECTION_TYPE__BOUNDED_BY, oldBoundedBy, newBoundedBy);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

        else {
            throw new WFSException(request, String.format("Stored query %s does not exist.", request.getId()));
        }
       
        Wfs20Factory factory = Wfs20Factory.eINSTANCE;
        ExecutionStatusType response = factory.createExecutionStatusType();
        response.setStatus("OK");
        return response;
    }
View Full Code Here

TOP

Related Classes of net.opengis.wfs20.ElementType

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.