Class TransactionType


  • public class TransactionType
    extends RequestBaseType
    Users may insert, update, or delete catalogue entries. If the verboseResponse attribute has the value "true", then one or more csw:InsertResult elements must be included in the response.

    Java class for TransactionType complex type.

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

     <complexType name="TransactionType">
       <complexContent>
         <extension base="{http://www.opengis.net/cat/csw/2.0.2}RequestBaseType">
           <sequence>
             <choice maxOccurs="unbounded">
               <element name="Insert" type="{http://www.opengis.net/cat/csw/2.0.2}InsertType"/>
               <element name="Update" type="{http://www.opengis.net/cat/csw/2.0.2}UpdateType"/>
               <element name="Delete" type="{http://www.opengis.net/cat/csw/2.0.2}DeleteType"/>
             </choice>
           </sequence>
           <attribute name="verboseResponse" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="requestId" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • insertOrUpdateOrDelete

        protected List<Object> insertOrUpdateOrDelete
      • verboseResponse

        protected Boolean verboseResponse
      • requestId

        protected String requestId
    • Constructor Detail

      • TransactionType

        public TransactionType()
        Default no-arg constructor
      • TransactionType

        public TransactionType​(String service,
                               String version,
                               List<Object> insertOrUpdateOrDelete,
                               Boolean verboseResponse,
                               String requestId)
        Fully-initialising value constructor
    • Method Detail

      • getInsertOrUpdateOrDelete

        public List<Object> getInsertOrUpdateOrDelete()
        Gets the value of the insertOrUpdateOrDelete 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 insertOrUpdateOrDelete property.

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

            getInsertOrUpdateOrDelete().add(newItem);
         

        Objects of the following type(s) are allowed in the list InsertType DeleteType UpdateType

      • isVerboseResponse

        public boolean isVerboseResponse()
        Gets the value of the verboseResponse property.
        Returns:
        possible object is Boolean
      • setVerboseResponse

        public void setVerboseResponse​(Boolean value)
        Sets the value of the verboseResponse property.
        Parameters:
        value - allowed object is Boolean
      • getRequestId

        public String getRequestId()
        Gets the value of the requestId property.
        Returns:
        possible object is String
      • setRequestId

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