Package org.geotools.data.wfs.v1_0_0.xml

Examples of org.geotools.data.wfs.v1_0_0.xml.WFSTransactionComplexTypes$AllSomeType


     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setLockAction(AllSomeType newLockAction) {
        AllSomeType oldLockAction = lockAction;
        lockAction = newLockAction == null ? LOCK_ACTION_EDEFAULT : newLockAction;
        boolean oldLockActionESet = lockActionESet;
        lockActionESet = true;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET, Wfs20Package.GET_FEATURE_WITH_LOCK_TYPE__LOCK_ACTION, oldLockAction, lockAction, !oldLockActionESet));
View Full Code Here


     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void unsetLockAction() {
        AllSomeType oldLockAction = lockAction;
        boolean oldLockActionESet = lockActionESet;
        lockAction = LOCK_ACTION_EDEFAULT;
        lockActionESet = false;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.UNSET, Wfs20Package.GET_FEATURE_WITH_LOCK_TYPE__LOCK_ACTION, oldLockAction, LOCK_ACTION_EDEFAULT, oldLockActionESet));
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setLockAction(AllSomeType newLockAction) {
        AllSomeType oldLockAction = lockAction;
        lockAction = newLockAction == null ? LOCK_ACTION_EDEFAULT : newLockAction;
        boolean oldLockActionESet = lockActionESet;
        lockActionESet = true;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET, Wfs20Package.LOCK_FEATURE_TYPE__LOCK_ACTION, oldLockAction, lockAction, !oldLockActionESet));
View Full Code Here

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void unsetLockAction() {
        AllSomeType oldLockAction = lockAction;
        boolean oldLockActionESet = lockActionESet;
        lockAction = LOCK_ACTION_EDEFAULT;
        lockActionESet = false;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.UNSET, Wfs20Package.LOCK_FEATURE_TYPE__LOCK_ACTION, oldLockAction, LOCK_ACTION_EDEFAULT, oldLockActionESet));
View Full Code Here

     * <!-- 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

            }

            Iterator actions = transactionRequest.getAllActions().iterator();

            while (actions.hasNext()) {
                Action a = (Action) actions.next();

                switch (a.getType()) {
                case Action.DELETE:
                    elems[3].getType().encode(elems[3], a, output, hints);

                    break;
View Full Code Here

            Map hints) throws IOException, OperationNotSupportedException {
            if (!canEncode(element, value, hints)) {
                return;
            }

            DeleteAction a = (DeleteAction) value;

            AttributesImpl attributes = new AttributesImpl();
            attributes.addAttribute(WFSSchema.NAMESPACE.toString(),
                attrs[1].getName(), null, "string", a.getTypeName());

            output.startElement(element.getNamespace(), element.getName(),
                attributes);

            elems[0].getType().encode(elems[0], a.getFilter(), output, hints);

            output.endElement(element.getNamespace(), element.getName());
        }
View Full Code Here

            ts = new WFSTransactionState(ds);
        } else {
            ts = (WFSTransactionState) trans.getState(ds);
        }

        ts.addAction(getSchema().getTypeName(), new DeleteAction(getSchema().getTypeName(), filter));
       
        // Fire a notification.  I don't know a way of quickly getting the bounds of
        // an arbitrary filter so I'm sending a NULL envelope to say "some features were removed but I don't
        // know what."  Can't be null because the convention states that null is sent on commits only.
        // JE
View Full Code Here

            ts = new WFSTransactionState(ds);
        } else {
            ts = (WFSTransactionState) trans.getState(ds);
        }

        ts.addAction(getSchema().getTypeName(), new DeleteAction(getSchema().getTypeName(), Filter.INCLUDE));
       
        ReferencedEnvelope bounds=null;
        while (reader.hasNext()){

            try {
View Full Code Here

TOP

Related Classes of org.geotools.data.wfs.v1_0_0.xml.WFSTransactionComplexTypes$AllSomeType

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.