|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ChangeType>
com.unboundid.ldap.sdk.ChangeType
public enum ChangeType
This enum defines a set of change types that are associated with operations that may be processed in an LDAP directory server. The defined change types are "add", "delete", "modify", and "modify DN".
Enum Constant Summary | |
---|---|
ADD
Indicates that the change type is for an add operation. |
|
DELETE
Indicates that the change type is for a delete operation. |
|
MODIFY
Indicates that the change type is for a modify operation. |
|
MODIFY_DN
Indicates that the change type is for a modify DN operation. |
Method Summary | |
---|---|
static ChangeType |
forName(java.lang.String name)
Retrieves the change type with the specified name. |
java.lang.String |
getName()
Retrieves the human-readable name for this change type. |
java.lang.String |
toString()
Retrieves a string representation for this change type. |
static ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ChangeType ADD
public static final ChangeType DELETE
public static final ChangeType MODIFY
public static final ChangeType MODIFY_DN
Method Detail |
---|
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static ChangeType forName(java.lang.String name)
name
- The name of the change type to retrieve.
null
if no such change type
is defined.public java.lang.String toString()
toString
in class java.lang.Enum<ChangeType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |