org.deegree_impl.services.wfs.protocol
Class WFSUpdate_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wfs.protocol.WFSUpdate_Impl
All Implemented Interfaces:
WFSOperation, WFSUpdate

public class WFSUpdate_Impl
extends java.lang.Object
implements WFSUpdate

Incarnation of a wfs:Update-element.

Version:
$Revision: 1.6 $
Author:
Markus Schneider

Field Summary
private  Filter filter
           
private  java.util.HashMap properties
           
private  java.lang.String typeName
           
 
Fields inherited from interface org.deegree.services.wfs.protocol.WFSOperation
OPERATION_DELETE, OPERATION_INSERT, OPERATION_LOCK, OPERATION_QUERY, OPERATION_UPDATE
 
Constructor Summary
protected WFSUpdate_Impl(java.lang.String typeName, java.util.HashMap properties, Filter filter)
          Create a new instance of WFSUpdate_Impl.
 
Method Summary
 Filter getFilter()
          A filter specification describes a set of features to operate upon.
 java.util.HashMap getProperties()
          Name/value-pairs that indicate which attributes are to be changed.
 java.lang.String getTypeName()
          The typeName attribute is used to indicate the name of the feature type be updated.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

typeName

private java.lang.String typeName

properties

private java.util.HashMap properties

filter

private Filter filter
Constructor Detail

WFSUpdate_Impl

protected WFSUpdate_Impl(java.lang.String typeName,
                         java.util.HashMap properties,
                         Filter filter)
Create a new instance of WFSUpdate_Impl.

Parameters:
typeName - value of the typeName-Attribute (FeatureType-name)
properties - name/value-pairs of fields to be changed
filter - wfs:Filter-Expression to be applied
Method Detail

getTypeName

public java.lang.String getTypeName()
The typeName attribute is used to indicate the name of the feature type be updated.

Specified by:
getTypeName in interface WFSUpdate
Returns:
the typeName attribute's value

getProperties

public java.util.HashMap getProperties()
Name/value-pairs that indicate which attributes are to be changed.

Specified by:
getProperties in interface WFSUpdate
Returns:
keys are names, values describe the value to be set

getFilter

public Filter getFilter()
A filter specification describes a set of features to operate upon. The format of the filter is defined in the OGC Filter Encoding Specification. Optional. No default. Prerequisite: TYPENAME

Specified by:
getFilter in interface WFSUpdate
Returns:
the filter expression to be applied or null

toString

public java.lang.String toString()