org.geotools.data.postgis
Class ModifiedFeatureIds

java.lang.Object
  extended by org.geotools.data.postgis.ModifiedFeatureIds

public class ModifiedFeatureIds
extends java.lang.Object

Contains the three sets of feature ids that identify those changes occurred between two versions in the versioned datastore

Since:
2.4
Author:
aaime

Constructor Summary
ModifiedFeatureIds(org.geotools.data.postgis.RevisionInfo fromRevision, org.geotools.data.postgis.RevisionInfo toRevision)
           
ModifiedFeatureIds(org.geotools.data.postgis.RevisionInfo fromRevision, org.geotools.data.postgis.RevisionInfo toRevision, java.util.Set created, java.util.Set deleted, java.util.Set modified)
           
 
Method Summary
 java.util.Set getCreated()
          Contains all ids for features that were created after startVersion (a feature may be both in this set and in deleted if it was created and then deleted)
 java.util.Set getDeleted()
          Contains all ids for features that were deleted before endVersion (a feature may be both in this set and in created if it was created and then deleted)
 java.lang.String getFromVersion()
           
 java.util.Set getModified()
          Contains all ids for features that were already there at startVersion, were modified before endVersion and were not deleted.
 java.lang.String getToVersion()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifiedFeatureIds

public ModifiedFeatureIds(org.geotools.data.postgis.RevisionInfo fromRevision,
                          org.geotools.data.postgis.RevisionInfo toRevision)

ModifiedFeatureIds

public ModifiedFeatureIds(org.geotools.data.postgis.RevisionInfo fromRevision,
                          org.geotools.data.postgis.RevisionInfo toRevision,
                          java.util.Set created,
                          java.util.Set deleted,
                          java.util.Set modified)
Method Detail

getDeleted

public java.util.Set getDeleted()
Contains all ids for features that were deleted before endVersion (a feature may be both in this set and in created if it was created and then deleted)

Returns:

getCreated

public java.util.Set getCreated()
Contains all ids for features that were created after startVersion (a feature may be both in this set and in deleted if it was created and then deleted)

Returns:

getModified

public java.util.Set getModified()
Contains all ids for features that were already there at startVersion, were modified before endVersion and were not deleted.

Returns:

getToVersion

public java.lang.String getToVersion()

getFromVersion

public java.lang.String getFromVersion()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.