deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wfs.operation
Class LockFeatureResponse

java.lang.Object
  extended by org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
      extended by org.deegree.ogcwebservices.wfs.operation.LockFeatureResponse
All Implemented Interfaces:
OGCWebServiceResponse

public class LockFeatureResponse
extends DefaultOGCWebServiceResponse

Represents the response to a LockFeature request. In response to a <LockFeature> request, the web feature server shall generate an XML document containing a lock identifier that a client application can reference when operating upon the locked features. The response can also contain optional blocks depending on the value of the lockAction attribute.

Version:
$Revision: 18195 $
Author:
Andreas Poth , Markus Schneider, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
exception, request
 
Constructor Summary
LockFeatureResponse(LockFeature request, java.lang.String lockId, java.lang.String[] featuresLocked, java.lang.String[] featuresNotLocked)
          Creates a new instance of LockFeatureResponse.
 
Method Summary
 java.lang.String[] getFeaturesLocked()
          Returns the feature identifiers of all features that have been locked successfully.
 java.lang.String[] getFeaturesNotLocked()
          Returns the feature identifiers of all features that were requested for locking, but which could not be locked.
 java.lang.String getLockId()
          Returns the lock identifier.
 java.lang.String toString()
           
 
Methods inherited from class org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
getException, getRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockFeatureResponse

public LockFeatureResponse(LockFeature request,
                           java.lang.String lockId,
                           java.lang.String[] featuresLocked,
                           java.lang.String[] featuresNotLocked)
Creates a new instance of LockFeatureResponse.

Parameters:
request - LockFeature request for which the response is generated
lockId - lock identifier (must not be null)
featuresLocked - ids of succesfully locked features (may not be null, but empty)
featuresNotLocked - ids of features that could not be locked sucessfully (may not be null, but empty)
Method Detail

getLockId

public java.lang.String getLockId()
Returns the lock identifier.

Returns:
the lock identifier

getFeaturesLocked

public java.lang.String[] getFeaturesLocked()
Returns the feature identifiers of all features that have been locked successfully.

Returns:
the feature identifiers of all features that have been locked successfully, (array may not be null, but empty)

getFeaturesNotLocked

public java.lang.String[] getFeaturesNotLocked()
Returns the feature identifiers of all features that were requested for locking, but which could not be locked.

Returns:
the feature identifiers of all features that were requested for locking, but which could not be locked, (array may not be null, but empty)

toString

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org