/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2002-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.wfs.bindings; import javax.xml.namespace.QName; import net.opengis.wfs.TransactionResponseType; import net.opengis.wfs.WfsFactory; import org.geotools.wfs.WFS; import org.geotools.xml.AbstractComplexEMFBinding; /** * Binding object for the type http://www.opengis.net/wfs:TransactionResponseType. * * <p> * <pre> * <code> * <xsd:complexType name="TransactionResponseType"> * <xsd:annotation> * <xsd:documentation xml:lang="en"> * The response for a transaction request that was successfully * completed. If the transaction failed for any reason, an * exception report is returned instead. * </xsd:documentation> * </xsd:annotation> * <xsd:sequence> * <xsd:element name="TransactionSummary" type="wfs:TransactionSummaryType"> * <xsd:annotation> * <xsd:documentation xml:lang="en"> * The TransactionSummary element is used to summarize * the number of feature instances affected by the * transaction. * </xsd:documentation> * </xsd:annotation> * </xsd:element> * <xsd:element minOccurs="0" name="TransactionResults" type="wfs:TransactionResultsType"> * <xsd:annotation> * <xsd:documentation xml:lang="en"> * For systems that do not support atomic transactions, * the TransactionResults element may be used to report * exception codes and messages for all actions of a * transaction that failed to execute successfully. * </xsd:documentation> * </xsd:annotation> * </xsd:element> * <xsd:element name="InsertResults" type="wfs:InsertResultsType"> * <xsd:annotation> * <xsd:documentation xml:lang="en"> * A transaction is a collection of Insert,Update and Delete * actions. The Update and Delete actions modify features * that already exist. The Insert action, however, creates * new features. The InsertResults element is used to * report the identifiers of the newly created features. * </xsd:documentation> * </xsd:annotation> * </xsd:element> * </xsd:sequence> * <xsd:attribute fixed="1.1.0" name="version" type="xsd:string" use="required"> * <xsd:annotation> * <xsd:documentation> * The version attribute contains the version of the request * that generated this response. So a V1.1.0 transaction * request generates a V1.1.0 transaction response. * </xsd:documentation> * </xsd:annotation> * </xsd:attribute> * </xsd:complexType> * * </code> * </pre> * </p> * * @generated * * * @source $URL$ */ public class TransactionResponseTypeBinding extends AbstractComplexEMFBinding { public TransactionResponseTypeBinding(WfsFactory factory) { super(factory); } /** * @generated */ public QName getTarget() { return WFS.TransactionResponseType; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Class getType() { return TransactionResponseType.class; } }