public enum ModifyTypeEnum extends Enum<ModifyTypeEnum>
| Enum Constant and Description |
|---|
ADD
The ADD operation adds a new value to a multi-valued attribute.
|
DEL
The DEL operation removes a value from a multi-valued attribute.
|
NONE
Indicates that no modify operation was specified.
|
NTH
The NTH operation sets the value at the specified index.
|
REM
The REM operation removes the entire attribute from the object.
|
SET
The SET operation sets a new value for a single-valued attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static ModifyTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static ModifyTypeEnum |
get(String str)
Returns a value for this enum or throws an exception if the String value isn't
a valid member of this enum.
|
int |
intValue()
Returns the value of this enum value as an int.
|
static ModifyTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifyTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifyTypeEnum NONE
public static final ModifyTypeEnum ADD
public static final ModifyTypeEnum DEL
public static final ModifyTypeEnum SET
public static final ModifyTypeEnum REM
public static final ModifyTypeEnum NTH
public static ModifyTypeEnum[] values()
for (ModifyTypeEnum c : ModifyTypeEnum.values()) System.out.println(c);
public static ModifyTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int intValue()
public static ModifyTypeEnum get(int code)
public static ModifyTypeEnum get(String str)
Copyright © 2023. All rights reserved.