|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureDiff
Represents the changes occurred between two versions of the same simple feature
Field Summary | |
---|---|
static int |
DELETED
Feature existed in fromVersion, but has been deleted (change map is empty) |
static int |
INSERTED
Feature does not exists in fromVersion, has been created in the meantime (change map contains all attributes in this case) |
static int |
UPDATED
Feature exists in both versions, but has been modified |
Method Summary | |
---|---|
java.util.List |
getChangedAttributes()
Returns a read only list of modified attribute names if state is UPDATED , an empty
list otherwise |
org.opengis.feature.simple.SimpleFeature |
getFeature()
Returns the inserted feature, if the state is INSERTED , the new feature, if the
state is UPDATED , null otherwise |
java.lang.String |
getID()
The feature ID |
org.opengis.feature.simple.SimpleFeature |
getOldFeature()
Returns the old feature, if the state is UPDATED or DELETED , null otherwise |
int |
getState()
The type of difference, either:: UPDATED
INSERTED
DELETED
|
Field Detail |
---|
static final int INSERTED
static final int UPDATED
static final int DELETED
Method Detail |
---|
java.util.List getChangedAttributes()
UPDATED
, an empty
list otherwise
java.lang.String getID()
int getState()
org.opengis.feature.simple.SimpleFeature getFeature()
INSERTED
, the new feature, if the
state is UPDATED
, null otherwise
org.opengis.feature.simple.SimpleFeature getOldFeature()
UPDATED
or DELETED
, null otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |