Class TransactionResponseType


  • public class TransactionResponseType
    extends Object
    The response for a transaction request that was successfully completed. If the transaction failed for any reason, a service exception report indicating a TransactionFailure is returned instead.

    Java class for TransactionResponseType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="TransactionResponseType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="TransactionSummary" type="{http://www.opengis.net/cat/csw/2.0.2}TransactionSummaryType"/>
             <element name="InsertResult" type="{http://www.opengis.net/cat/csw/2.0.2}InsertResultType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TransactionResponseType

        public TransactionResponseType()
        Default no-arg constructor
    • Method Detail

      • getInsertResult

        public List<InsertResultType> getInsertResult()
        Gets the value of the insertResult property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the insertResult property.

        For example, to add a new item, do as follows:

            getInsertResult().add(newItem);
         

        Objects of the following type(s) are allowed in the list InsertResultType

      • getVersion

        public String getVersion()
        Gets the value of the version property.
        Returns:
        possible object is String
      • setVersion

        public void setVersion​(String value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is String