| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wfs.operation.transaction.TransactionOperation
org.deegree.ogcwebservices.wfs.operation.transaction.Insert
public class Insert
Represents an Insert operation as a part of a Transaction request.
| Nested Class Summary | |
|---|---|
static class | 
Insert.ID_GEN
Generation strategies for feature ids.  | 
| Field Summary | |
|---|---|
static String | 
ID_GEN_GENERATE_NEW_STRING
Always generate new feature ids.  | 
static String | 
ID_GEN_REPLACE_DUPLICATE_STRING
Use provided feature ids, generate new id if feature with same id already exists.  | 
static String | 
ID_GEN_USE_EXISTING_STRING
Use provided feature ids.  | 
| Constructor Summary | |
|---|---|
Insert(String handle,
             Insert.ID_GEN idGenMode,
             URI srsName,
             FeatureCollection fc)
Creates a new Insert instance. | 
|
| Method Summary | |
|---|---|
 List<QualifiedName> | 
getAffectedFeatureTypes()
Returns the names of the feature types that are affected by the operation.  | 
 FeatureCollection | 
getFeatures()
Returns the feature instances to be inserted.  | 
 Insert.ID_GEN | 
getIdGen()
Returns the mode for id generation.  | 
 URI | 
getSRSName()
Returns the asserted SRS of the features to be inserted.  | 
 void | 
setFeatureCollection(FeatureCollection fc)
Sets the feature instances to be inserted.  | 
| Methods inherited from class org.deegree.ogcwebservices.wfs.operation.transaction.TransactionOperation | 
|---|
getHandle | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String ID_GEN_GENERATE_NEW_STRING
public static final String ID_GEN_USE_EXISTING_STRING
public static final String ID_GEN_REPLACE_DUPLICATE_STRING
| Constructor Detail | 
|---|
public Insert(String handle,
              Insert.ID_GEN idGenMode,
              URI srsName,
              FeatureCollection fc)
Insert instance.
handle - optional identifier for the operation (for error messsages)idGenMode - mode for feature id generationsrsName - name of the spatial reference systemfc - feature instances to be inserted, wrapped in a FeatureCollection| Method Detail | 
|---|
public Insert.ID_GEN getIdGen()
Must be one of the following:
public URI getSRSName()
public FeatureCollection getFeatures()
public void setFeatureCollection(FeatureCollection fc)
fc - feature instances to be insertedpublic List<QualifiedName> getAffectedFeatureTypes()
getAffectedFeatureTypes in class TransactionOperation
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org