Package com.esri.arcgisruntime.data
Enum EditResult.EditOperation
- java.lang.Object
-
- java.lang.Enum<EditResult.EditOperation>
-
- com.esri.arcgisruntime.data.EditResult.EditOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<EditResult.EditOperation>
- Enclosing class:
- EditResult
public static enum EditResult.EditOperation extends Enum<EditResult.EditOperation>
Represents the different types of edit operations onServiceFeatureTable
.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
An operation to add a feature or attachment to the feature table.DELETE
An operation to delete a feature or attachment from the feature table.UNKNOWN
The edit operation is unknown.UPDATE
An operation to update a feature or attachment in the feature table.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EditResult.EditOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static EditResult.EditOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final EditResult.EditOperation ADD
An operation to add a feature or attachment to the feature table.
-
UPDATE
public static final EditResult.EditOperation UPDATE
An operation to update a feature or attachment in the feature table.
-
DELETE
public static final EditResult.EditOperation DELETE
An operation to delete a feature or attachment from the feature table.
-
UNKNOWN
public static final EditResult.EditOperation UNKNOWN
The edit operation is unknown.
-
-
Method Detail
-
values
public static EditResult.EditOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EditResult.EditOperation c : EditResult.EditOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EditResult.EditOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-