Package net.opengis.wfs20.impl

Examples of net.opengis.wfs20.impl.EnvelopePropertyTypeImpl


     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetTransactionSummary(TransactionSummaryType newTransactionSummary, NotificationChain msgs) {
        TransactionSummaryType oldTransactionSummary = transactionSummary;
        transactionSummary = newTransactionSummary;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wfs20Package.TRANSACTION_RESPONSE_TYPE__TRANSACTION_SUMMARY, oldTransactionSummary, newTransactionSummary);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here


        "    </InWaterA_1M> " +
        "   </wfs:Insert> " +
        "</wfs:Transaction> ";
        buildDocument(xml);
       
        TransactionType t = (TransactionType) parse();
        assertNotNull(t);
       
        assertEquals(1, t.getAbstractTransactionAction().size());
        assertEquals(1, t.getGroup().size());
       
        InsertType i = (InsertType) t.getAbstractTransactionAction().get(0);
        assertEquals(2, i.getAny().size());
    }
View Full Code Here

        "      </fes:Filter> " +
        "   </wfs:Update> " +
        "</wfs:Transaction> ";
        buildDocument(xml);
       
        TransactionType t = (TransactionType) parse();
        assertNotNull(t);
       
        assertEquals(1, t.getAbstractTransactionAction().size());
       
        UpdateType u = (UpdateType) t.getAbstractTransactionAction().get(0);
        assertEquals(1, u.getProperty().size());
       
        PropertyType p = u.getProperty().get(0);
        assertEquals("population", p.getValueReference().getValue().getLocalPart());
        assertEquals("4070000", p.getValue());
View Full Code Here

        "      </fes:Filter> " +
        "   </wfs:Delete> " +
        "</wfs:Transaction> ";
        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

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetTruncatedResponse(TruncatedResponseType newTruncatedResponse, NotificationChain msgs) {
        TruncatedResponseType oldTruncatedResponse = truncatedResponse;
        truncatedResponse = newTruncatedResponse;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wfs20Package.FEATURE_COLLECTION_TYPE__TRUNCATED_RESPONSE, oldTruncatedResponse, newTruncatedResponse);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetTruncatedResponse(TruncatedResponseType newTruncatedResponse, NotificationChain msgs) {
        TruncatedResponseType oldTruncatedResponse = truncatedResponse;
        truncatedResponse = newTruncatedResponse;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wfs20Package.VALUE_COLLECTION_TYPE__TRUNCATED_RESPONSE, oldTruncatedResponse, newTruncatedResponse);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setAction(UpdateActionType newAction) {
        UpdateActionType oldAction = action;
        action = newAction == null ? ACTION_EDEFAULT : newAction;
        boolean oldActionESet = actionESet;
        actionESet = true;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET, Wfs20Package.VALUE_REFERENCE_TYPE__ACTION, oldAction, action, !oldActionESet));
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void unsetAction() {
        UpdateActionType oldAction = action;
        boolean oldActionESet = actionESet;
        action = ACTION_EDEFAULT;
        actionESet = false;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.UNSET, Wfs20Package.VALUE_REFERENCE_TYPE__ACTION, oldAction, ACTION_EDEFAULT, oldActionESet));
View Full Code Here

        TransactionType t = (TransactionType) parse();
        assertNotNull(t);
       
        assertEquals(1, t.getAbstractTransactionAction().size());
       
        UpdateType u = (UpdateType) t.getAbstractTransactionAction().get(0);
        assertEquals(1, u.getProperty().size());
       
        PropertyType p = u.getProperty().get(0);
        assertEquals("population", p.getValueReference().getValue().getLocalPart());
        assertEquals("4070000", p.getValue());
       
        Id id = (Id) u.getFilter();
        assertNotNull(id);
        assertTrue(id.getIDs().contains("BuiltUpA_1M.10131"));
    }
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetValueCollection(ValueCollectionType newValueCollection, NotificationChain msgs) {
        ValueCollectionType oldValueCollection = valueCollection;
        valueCollection = newValueCollection;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wfs20Package.ADDITIONAL_VALUES_TYPE__VALUE_COLLECTION, oldValueCollection, newValueCollection);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

TOP

Related Classes of net.opengis.wfs20.impl.EnvelopePropertyTypeImpl

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.