|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.lang.String |
ID_GEN_GENERATE_NEW_STRING
Always generate new feature ids. |
static java.lang.String |
ID_GEN_REPLACE_DUPLICATE_STRING
Use provided feature ids, generate new id if feature with same id already exists. |
static java.lang.String |
ID_GEN_USE_EXISTING_STRING
Use provided feature ids. |
Constructor Summary | |
---|---|
Insert(java.lang.String handle,
Insert.ID_GEN idGenMode,
java.net.URI srsName,
FeatureCollection fc)
Creates a new Insert instance. |
Method Summary | |
---|---|
java.util.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. |
java.net.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 java.lang.String ID_GEN_GENERATE_NEW_STRING
public static final java.lang.String ID_GEN_USE_EXISTING_STRING
public static final java.lang.String ID_GEN_REPLACE_DUPLICATE_STRING
Constructor Detail |
---|
public Insert(java.lang.String handle, Insert.ID_GEN idGenMode, java.net.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 java.net.URI getSRSName()
public FeatureCollection getFeatures()
public void setFeatureCollection(FeatureCollection fc)
fc
- feature instances to be insertedpublic java.util.List<QualifiedName> getAffectedFeatureTypes()
getAffectedFeatureTypes
in class TransactionOperation
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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