|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<FeatureEvent.Type>
FeatureEvent.Type
public static enum FeatureEvent.Type
Enum Constant Summary | |
---|---|
ADDED
Features have been added. |
|
CHANGED
Features have been updated. |
|
COMMIT
Changes have been committed. |
|
REMOVED
Features have been removed. |
|
ROLLBACK
Changes have been reverted. |
Method Summary | |
---|---|
static FeatureEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FeatureEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FeatureEvent.Type ADDED
FeatureEvent.getFilter() lists the FeatureIds of the newly created features; please note that these IDs may be changed during a commit.
public static final FeatureEvent.Type CHANGED
The FeatureEvent.getFilter() can be used to identify the removed features; often this is a FidFilter. But it may be Filter.INCLUDES if we are unsure exactly what has been changed.
public static final FeatureEvent.Type REMOVED
The FeatureEvent.getFilter() can be used to identify the removed features; often this is a FidFilter.
public static final FeatureEvent.Type COMMIT
The BatchFeatureEvent.repalceFid method can be used to update any temporary FeatureIds with the actual FeatureId generated by the commit.
You can check BatchFeatureEvent getFilter() and getBounds() as well.
public static final FeatureEvent.Type ROLLBACK
Method Detail |
---|
public static FeatureEvent.Type[] values()
for (FeatureEvent.Type c : FeatureEvent.Type.values()) System.out.println(c);
public static FeatureEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |