org.geotools.data.wfs
Class Action.UpdateAction
java.lang.Object
org.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
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 |
Action.UpdateAction
public Action.UpdateAction(java.lang.String typeName,
Filter f,
java.util.Map properties)
- Makes an UpdateAction
- Parameters:
typeName
- The TypeNamef
- Filter which this update affectsproperties
- The properties to update
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.