Package org.geotools.wfs.v1_0
Class WFS_TransactionResponseTypeBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- WFS_TransactionResponseTypeBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class WFS_TransactionResponseTypeBinding extends AbstractComplexEMFBinding
Binding object for the type http://www.opengis.net/wfs:TransactionResponseType.<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>
-
-
Constructor Summary
Constructors Constructor Description WFS_TransactionResponseTypeBinding(WfsFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getProperty(Object object, QName name)
Uses EMF reflection dynamically return the property with the specified name.QName
getTarget()
Class
getType()
-
Methods inherited from class AbstractComplexEMFBinding
createEObject, parse, setProperty
-
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initialize, initializeChildContext
-
-
-
-
Constructor Detail
-
WFS_TransactionResponseTypeBinding
public WFS_TransactionResponseTypeBinding(WfsFactory factory)
-
-
Method Detail
-
getTarget
public QName getTarget()
- Returns:
- The qualified name of the target for the binding.
-
getType
public Class getType()
- Specified by:
getType
in interfaceBinding
- Overrides:
getType
in classAbstractComplexEMFBinding
- Returns:
- The java type this binding maps to.
-
getProperty
public Object getProperty(Object object, QName name) throws Exception
Description copied from class:AbstractComplexEMFBinding
Uses EMF reflection dynamically return the property with the specified name.In the case that the name of a child element or attributes does not match the name of a property on the object, subclasses may wish to extend this method and set the property explicitly.
- Specified by:
getProperty
in interfaceComplexBinding
- Overrides:
getProperty
in classAbstractComplexEMFBinding
- Parameters:
object
- The object being encoded.name
- The name of the property to obtain.- Returns:
- The value of the property, or
null
. - Throws:
Exception
- See Also:
ComplexBinding.getProperty(Object, QName)
-
-