Package nl.b3p.csw.jaxb.csw
Class TransactionType
- java.lang.Object
-
- nl.b3p.csw.jaxb.csw.RequestBaseType
-
- nl.b3p.csw.jaxb.csw.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 Summary
Fields Modifier and Type Field Description protected List<Object>insertOrUpdateOrDeleteprotected StringrequestIdprotected BooleanverboseResponse-
Fields inherited from class nl.b3p.csw.jaxb.csw.RequestBaseType
service, version
-
-
Constructor Summary
Constructors Constructor Description TransactionType()Default no-arg constructorTransactionType(String service, String version, List<Object> insertOrUpdateOrDelete, Boolean verboseResponse, String requestId)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getInsertOrUpdateOrDelete()Gets the value of the insertOrUpdateOrDelete property.StringgetRequestId()Gets the value of the requestId property.booleanisVerboseResponse()Gets the value of the verboseResponse property.voidsetRequestId(String value)Sets the value of the requestId property.voidsetVerboseResponse(Boolean value)Sets the value of the verboseResponse property.-
Methods inherited from class nl.b3p.csw.jaxb.csw.RequestBaseType
getService, getVersion, setService, setVersion
-
-
-
-
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
setmethod 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
InsertTypeDeleteTypeUpdateType
-
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 isBoolean
-
getRequestId
public String getRequestId()
Gets the value of the requestId property.- Returns:
- possible object is
String
-
-