public static enum Ldap.AttributeModification extends Enum<Ldap.AttributeModification>
DirContext.| Enum Constant and Description |
|---|
ADD
add an attribute.
|
REMOVE
remove an attribute.
|
REPLACE
replace an attribute.
|
| Modifier and Type | Method and Description |
|---|---|
int |
modOp()
Returns the modification operation integer.
|
static Ldap.AttributeModification |
parseModificationOperation(int i)
Method to convert a JNDI constant value to an enum.
|
static Ldap.AttributeModification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ldap.AttributeModification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ldap.AttributeModification ADD
public static final Ldap.AttributeModification REPLACE
public static final Ldap.AttributeModification REMOVE
public static Ldap.AttributeModification[] values()
for (Ldap.AttributeModification c : Ldap.AttributeModification.values()) System.out.println(c);
public static Ldap.AttributeModification 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 modOp()
intpublic static Ldap.AttributeModification parseModificationOperation(int i)
i - modification operationCopyright © 2014. All rights reserved.