|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Ldap.AttributeModification>
edu.vt.middleware.ldap.Ldap.AttributeModification
public static enum Ldap.AttributeModification
Enum to define the type of attribute modification. See DirContext.
| Enum Constant Summary | |
|---|---|
ADD
add an attribute. |
|
REMOVE
remove an attribute. |
|
REPLACE
replace an attribute. |
|
| Method Summary | |
|---|---|
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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Ldap.AttributeModification ADD
public static final Ldap.AttributeModification REPLACE
public static final Ldap.AttributeModification REMOVE
| Method Detail |
|---|
public static final 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 namepublic int modOp()
intpublic static Ldap.AttributeModification parseModificationOperation(int i)
i - modification operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||