org.geotools.data.wfs.v1_0_0
Class Action.InsertAction

Object
  extended by Action.InsertAction
All Implemented Interfaces:
Action
Enclosing interface:
Action

public static class Action.InsertAction
extends Object
implements Action

Represents an Insert Action

Author:
dzwiers

Nested Class Summary
 
Nested classes/interfaces inherited from interface Action
Action.DeleteAction, Action.InsertAction, Action.UpdateAction
 
Field Summary
 
Fields inherited from interface Action
DELETE, INSERT, UPDATE
 
Constructor Summary
Action.InsertAction(SimpleFeature f)
          Creates an insert action for the Feature specified.
 
Method Summary
 SimpleFeature getFeature()
           
 Filter getFilter()
           
 int getType()
           
 String getTypeName()
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Action.InsertAction

public Action.InsertAction(SimpleFeature f)
Creates an insert action for the Feature specified. The feature is copied to prevent inadvertant side effect of modifing the feature after an insert.

Parameters:
f - Feature to add
Method Detail

getType

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

getFeature

public SimpleFeature getFeature()
Returns:
The Feature to add

getTypeName

public String getTypeName()
Specified by:
getTypeName in interface Action
Returns:
The FeatureType name for which this Action is intended
See Also:
org.geotools.wfs.v_1_0_0.data.Action#getTypeName()

getFilter

public Filter getFilter()
Specified by:
getFilter in interface Action
Returns:
The Filter on which to inflict the Action
See Also:
org.geotools.wfs.v_1_0_0.data.Action#getFilter()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1996-2009 Geotools. All Rights Reserved.