org.geotools.data.wfs.v1_0_0
Class Action.UpdateAction
Object
Action.UpdateAction
- All Implemented Interfaces:
- Action
- Enclosing interface:
- Action
public static class Action.UpdateAction
- extends Object
- implements Action
Represents an Update Action
- Author:
- dzwiers
Constructor Summary |
Action.UpdateAction(String typeName,
Filter f,
Map properties)
Makes an UpdateAction Filter is copied so any further changes will not be included in filter of action. |
Action.UpdateAction
public Action.UpdateAction(String typeName,
Filter f,
Map properties)
- Makes an UpdateAction Filter is copied so any further changes will not be included in filter of action.
- Parameters:
typeName
- The TypeNamef
- Filter which this update affectsproperties
- The properties to update. Entries must be where String is an attribute to
update and Object is the new Value.
getType
public int getType()
- Specified by:
getType
in interface Action
- Returns:
- @see Action#UPDATE
getProperty
public Object getProperty(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 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 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 String getTypeName()
- Specified by:
getTypeName
in interface Action
- Returns:
- String the TypeName
update
public void update(SimpleFeature feature)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1996-2010 Geotools. All Rights Reserved.