Package nl.b3p.csw.jaxb.csw
Class TransactionResponseType
- java.lang.Object
-
- nl.b3p.csw.jaxb.csw.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<InsertResultType>insertResultprotected TransactionSummaryTypetransactionSummaryprotected Stringversion
-
Constructor Summary
Constructors Constructor Description TransactionResponseType()Default no-arg constructorTransactionResponseType(TransactionSummaryType transactionSummary, List<InsertResultType> insertResult, String version)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<InsertResultType>getInsertResult()Gets the value of the insertResult property.TransactionSummaryTypegetTransactionSummary()Gets the value of the transactionSummary property.StringgetVersion()Gets the value of the version property.voidsetTransactionSummary(TransactionSummaryType value)Sets the value of the transactionSummary property.voidsetVersion(String value)Sets the value of the version property.
-
-
-
Field Detail
-
transactionSummary
protected TransactionSummaryType transactionSummary
-
insertResult
protected List<InsertResultType> insertResult
-
version
protected String version
-
-
Constructor Detail
-
TransactionResponseType
public TransactionResponseType()
Default no-arg constructor
-
TransactionResponseType
public TransactionResponseType(TransactionSummaryType transactionSummary, List<InsertResultType> insertResult, String version)
Fully-initialising value constructor
-
-
Method Detail
-
getTransactionSummary
public TransactionSummaryType getTransactionSummary()
Gets the value of the transactionSummary property.- Returns:
- possible object is
TransactionSummaryType
-
setTransactionSummary
public void setTransactionSummary(TransactionSummaryType value)
Sets the value of the transactionSummary property.- Parameters:
value- allowed object isTransactionSummaryType
-
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
setmethod 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
-
-