Package net.opengis.wfs20

Examples of net.opengis.wfs20.QueryType


     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetFeaturesNotLocked(FeaturesNotLockedType newFeaturesNotLocked, NotificationChain msgs) {
        FeaturesNotLockedType oldFeaturesNotLocked = featuresNotLocked;
        featuresNotLocked = newFeaturesNotLocked;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wfs20Package.LOCK_FEATURE_RESPONSE_TYPE__FEATURES_NOT_LOCKED, oldFeaturesNotLocked, newFeaturesNotLocked);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here


            "<GetCapabilities service='WFS' xmlns='http://www.opengis.net/wfs/2.0' " +
                "xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' " +
                "xsi:schemaLocation='http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd'/>";
        buildDocument(xml);
       
        GetCapabilitiesType gc = (GetCapabilitiesType) parse();
        assertNotNull(gc);
    }
View Full Code Here

        "   </wfs:Query> " +
        "</wfs:GetFeature> ";
       
        buildDocument(xml);
       
        GetFeatureType gf = (GetFeatureType) parse();
        assertNotNull(gf);
       
        assertEquals(1, gf.getAbstractQueryExpression().size());
        QueryType q = (QueryType) gf.getAbstractQueryExpression().get(0);
        assertNotNull(q);
       
        assertEquals(new URI("epsg:4326"), q.getSrsName());
        assertEquals(1, q.getTypeNames().size());
        assertEquals(
View Full Code Here

            "      </fes:Filter> " +
            "   </wfs:Query> " +
            "</wfs:GetFeature> ";
        buildDocument(xml);
       
        GetFeatureType gf = (GetFeatureType) parse();
        assertNotNull(gf);
       
        assertEquals(BigInteger.valueOf(100), gf.getCount());
        assertEquals(1, gf.getAbstractQueryExpression().size());
        QueryType q = (QueryType) gf.getAbstractQueryExpression().get(0);
        assertNotNull(q);

        assertNotNull(q.getFilter());
        assertEquals(3, q.getPropertyNames().size());
       
View Full Code Here

            "   <Query typeNames='myns:BuiltUpA_1M'/> " +
            "   <Query typeNames='yourns:RoadL_1M'/> " +
            "</GetFeature> ";
        buildDocument(xml);
       
        GetFeatureType gf = (GetFeatureType) parse();
        assertNotNull(gf);
       
        assertEquals(3, gf.getAbstractQueryExpression().size());
       
        QueryType q = (QueryType) gf.getAbstractQueryExpression().get(0);
        assertNotNull(q);
        assertEquals(new QName("http://www.someserver.com/myns", "InWaterA_1M"),
            q.getTypeNames().get(0));
       
        q = (QueryType) gf.getAbstractQueryExpression().get(1);
        assertNotNull(q);
        assertEquals(new QName("http://www.someserver.com/myns", "BuiltUpA_1M"),
            q.getTypeNames().get(0));
       
        q = (QueryType) gf.getAbstractQueryExpression().get(2);
        assertNotNull(q);
        assertEquals(new QName("http://demo.cubewerx.com/yourns", "RoadL_1M"),
            q.getTypeNames().get(0));
    }
View Full Code Here

            "      </fes:SortBy> " +
            "   </Query> " +
            "</GetFeature> ";
        buildDocument(xml);
       
        GetFeatureType gf = (GetFeatureType) parse();
        assertNotNull(gf);
        assertEquals(ResultTypeType.HITS, gf.getResultType());
       
        assertEquals(1, gf.getAbstractQueryExpression().size());
        QueryType q = (QueryType) gf.getAbstractQueryExpression().get(0);
        assertNotNull(q);
       
        Not f = (Not) q.getFilter();
        assertNotNull(f);
       
View Full Code Here

        "      </wfs:Parameter> " +
        "   </wfs:StoredQuery>" +
        " </wfs:GetFeature>";
        buildDocument(xml);
       
        GetFeatureType gf = (GetFeatureType) parse();
        assertNotNull(gf);
       
        assertEquals(1, gf.getAbstractQueryExpression().size());
       
        StoredQueryType sq = (StoredQueryType) gf.getAbstractQueryExpression().get(0);
        assertEquals(1, sq.getParameter().size());
        ParameterType p = sq.getParameter().get(0);
        assertEquals("AreaOfInterest", p.getName());
        assertNotNull(p.getValue());
        assertTrue(p.getValue().contains("gml:Polygon"));
View Full Code Here

        "   </Query> " +
        " " +
        "</GetFeature>";
        buildDocument(xml);
       
        GetFeatureType gf = (GetFeatureType) parse();
        assertNotNull(gf);
       
        assertEquals(1, gf.getAbstractQueryExpression().size());
        QueryType q = (QueryType) gf.getAbstractQueryExpression().get(0);
        assertNotNull(q);
       
        assertEquals(2, q.getTypeNames().size());
        assertEquals(2, q.getAliases().size());
    }
View Full Code Here

            "      </fes:Filter> " +
            "   </wfs:Query> " +
            "</wfs:GetFeatureWithLock> ";
        buildDocument(xml);
       
        GetFeatureWithLockType gf = (GetFeatureWithLockType) parse();
        assertNotNull(gf);
       
        assertEquals(BigInteger.valueOf(124), gf.getExpiry());
        assertEquals(AllSomeType.ALL, gf.getLockAction());
       
        assertEquals(1, gf.getAbstractQueryExpression().size());
        QueryType q = (QueryType) gf.getAbstractQueryExpression().get(0);
        assertNotNull(q);
       
        assertEquals(new URI("epsg:4326"), q.getSrsName());
        assertEquals(1, q.getTypeNames().size());
        assertEquals(
View Full Code Here

        "   </wfs:Query> " +
        "</wfs:GetPropertyValue> ";
       
        buildDocument(xml);
       
        GetPropertyValueType gf = (GetPropertyValueType) parse();
        assertNotNull(gf);
        assertEquals("foo", gf.getValueReference());
        QueryType q = (QueryType) gf.getAbstractQueryExpression();
        assertNotNull(q);
       
        assertEquals(new URI("epsg:4326"), q.getSrsName());
        assertEquals(1, q.getTypeNames().size());
        assertEquals(
View Full Code Here

TOP

Related Classes of net.opengis.wfs20.QueryType

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.