public static enum APIDataSet.APIOperation extends java.lang.Enum<APIDataSet.APIOperation>
Enum Constant and Description |
---|
ADD
Add a new primitive
|
DELETE
Delete an existing primitive
|
UPDATE
Update an existing primitive
|
Modifier and Type | Method and Description |
---|---|
static APIDataSet.APIOperation |
of(OsmPrimitive osm)
Determines the API operation to perform on a primitive.
|
static APIDataSet.APIOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIDataSet.APIOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIDataSet.APIOperation ADD
public static final APIDataSet.APIOperation UPDATE
public static final APIDataSet.APIOperation DELETE
public static APIDataSet.APIOperation[] values()
for (APIDataSet.APIOperation c : APIDataSet.APIOperation.values()) System.out.println(c);
public static APIDataSet.APIOperation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static APIDataSet.APIOperation of(OsmPrimitive osm)
osm
- OSM primitiveosm