| Responsible for the assigning of valid
FeatureId s which are a prerequisite to the insertion of features in a
Datastore . For each
Insert operation, a new FeatureIdAssigner instance is created.
The behaviour of
FeatureIdAssigner.assignFID(Feature,DatastoreTransaction) } depends on the
ID_GEN mode in use:
GenerateNew |
Prior to the assigning of new feature ids, "equal" features are looked up in the datastore and their feature ids
are used. |
UseExisting |
- For every root feature, it is checked that a feature id is present and that no feature with the same id already
exists in the datastore.
- "Equal" subfeatures are looked up in the datastore and their feature ids are used instead of the given fids --
if however an "equal" root feature is identified, an exception is thrown.
|
ReplaceDuplicate |
not supported yet |
See Also: DatastoreTransaction.performInsert(List) author: Markus Schneider author: last edited by: $Author: apoth $ version: $Revision: 9342 $, $Date: 2007-12-27 04:32:57 -0800 (Thu, 27 Dec 2007) $ |