org.geotools.data.wfs
Class Action.UpdateAction

java.lang.Object
  extended byorg.geotools.data.wfs.Action.UpdateAction
All Implemented Interfaces:
Action
Enclosing class:
Action

public static class Action.UpdateAction
extends java.lang.Object
implements Action

Represents an Update Action

Author:
dzwiers

Nested Class Summary
 
Nested classes inherited from class org.geotools.data.wfs.Action
Action.DeleteAction, Action.InsertAction, Action.UpdateAction
 
Field Summary
 
Fields inherited from interface org.geotools.data.wfs.Action
DELETE, INSERT, UPDATE
 
Constructor Summary
Action.UpdateAction(java.lang.String typeName, Filter f, java.util.Map properties)
          Makes an UpdateAction
 
Method Summary
 Filter getFilter()
           
 java.util.Map getProperties()
           
 java.lang.Object getProperty(java.lang.String name)
          Returns the property if found ... this method will not create a NullPointerException if properties is null.
 java.lang.String[] getPropertyNames()
          Returns the property names if they exist ... this method will not create a NullPointerException if properties is null.
 int getType()
           
 java.lang.String getTypeName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action.UpdateAction

public Action.UpdateAction(java.lang.String typeName,
                           Filter f,
                           java.util.Map properties)
Makes an UpdateAction

Parameters:
typeName - The TypeName
f - Filter which this update affects
properties - The properties to update
Method Detail

getType

public int getType()
Specified by:
getType in interface Action
Returns:
@see Action#UPDATE

getProperty

public java.lang.Object getProperty(java.lang.String name)
Returns the property if found ... this method will not create a NullPointerException if properties is null.

Parameters:
name - String the property key
Returns:
Object The property if found, null other wise.

getPropertyNames

public java.lang.String[] getPropertyNames()
Returns the property names if they exist ... this method will not create a NullPointerException if properties is null.

Returns:
A list of the keys.

getProperties

public java.util.Map getProperties()
Returns:
a clone of the properties map, null if it does not exist.

getFilter

public Filter getFilter()
Specified by:
getFilter in interface Action
Returns:
Filter the Filter

getTypeName

public java.lang.String getTypeName()
Specified by:
getTypeName in interface Action
Returns:
String the TypeName


Copyright © GeoTools. All Rights Reserved.