org.deegree_impl.services.wcas.protocol
Class CASTransactionRequest_Impl

java.lang.Object
  extended byorg.deegree_impl.services.OGCWebServiceRequest_Impl
      extended byorg.deegree_impl.services.wcas.protocol.CASTransactionRequest_Impl
All Implemented Interfaces:
CASTransactionRequest, OGCWebServiceRequest

public final class CASTransactionRequest_Impl
extends OGCWebServiceRequest_Impl
implements CASTransactionRequest

The interface defines the access to the parts of a Transaction request. Each Transaction request contains one or more maybe different operations.

--------------------------------------------------------------------

Version:
2002-04-16
Author:
Andreas Poth

Field Summary
private  java.lang.String handle
           
private  java.lang.String lockId
           
private  java.util.ArrayList operations
           
 
Fields inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl
id, request, service, vendorSpecificParameter, version
 
Constructor Summary
(package private) CASTransactionRequest_Impl(java.lang.String version, java.lang.String id, java.util.HashMap vendorSpecificParameter, java.lang.String lockId, java.lang.String handle, CASOperation[] operations)
          Creates a new CASTransactionRequest_Impl object.
 
Method Summary
 void addOperation(CASOperation operation)
           
 java.lang.String getHandle()
          returns a descriptor that enables easy identifying the transaction
 java.lang.String getLockId()
          returns the id that handles the locking associated to the request
 CASOperation[] getOperations()
          A element is used to define a single transaction composed of zero or more , , or elements.
 void setHandle(java.lang.String handle)
           
 void setLockId(java.lang.String lockId)
           
 void setOperations(CASOperation[] operations)
           
 java.lang.String toString()
           
 
Methods inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, putVendorSpecificParameter, setId, setRequest, setService, setVendorSpecificParameter, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.services.OGCWebServiceRequest
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion
 

Field Detail

operations

private java.util.ArrayList operations

handle

private java.lang.String handle

lockId

private java.lang.String lockId
Constructor Detail

CASTransactionRequest_Impl

CASTransactionRequest_Impl(java.lang.String version,
                           java.lang.String id,
                           java.util.HashMap vendorSpecificParameter,
                           java.lang.String lockId,
                           java.lang.String handle,
                           CASOperation[] operations)
Creates a new CASTransactionRequest_Impl object.

Parameters:
version -
id -
vendorSpecificParameter -
lockId -
handle -
operations -
Method Detail

getLockId

public java.lang.String getLockId()
returns the id that handles the locking associated to the request

Specified by:
getLockId in interface CASTransactionRequest

setLockId

public void setLockId(java.lang.String lockId)
See Also:
getLockId()

getHandle

public java.lang.String getHandle()
returns a descriptor that enables easy identifying the transaction

Specified by:
getHandle in interface CASTransactionRequest

setHandle

public void setHandle(java.lang.String handle)
See Also:
getHandle()

getOperations

public CASOperation[] getOperations()
A element is used to define a single transaction composed of zero or more , , or elements. An empty request is valid but not very useful.

An operation is meant to be applied to a single feature type, but multiple operations on multiple feature types can be packaged within a single Transaction request.

Specified by:
getOperations in interface CASTransactionRequest

setOperations

public void setOperations(CASOperation[] operations)
See Also:
getOperations()

addOperation

public void addOperation(CASOperation operation)
See Also:
getOperations()

toString

public java.lang.String toString()
Overrides:
toString in class OGCWebServiceRequest_Impl
Returns: