|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ChangeType>
org.apache.directory.shared.ldap.ldif.ChangeType
public enum ChangeType
A type safe enumeration for an LDIF record's change type.
| Enum Constant Summary | |
|---|---|
Add
|
|
Delete
|
|
ModDn
|
|
Modify
|
|
ModRdn
|
|
| Field Summary | |
|---|---|
static int |
ADD_ORDINAL
Add ordinal value |
static int |
DELETE_ORDINAL
Delete ordinal value |
static int |
MODDN_ORDINAL
ModDN ordinal value |
static int |
MODIFY_ORDINAL
Modify ordinal value |
static int |
MODRDN_ORDINAL
ModRDN ordinal value |
| Method Summary | |
|---|---|
int |
getChangeType()
Get's the ordinal value for a ChangeType. |
static ChangeType |
getChangeType(int val)
|
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, toString, 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 Modify
public static final ChangeType ModDn
public static final ChangeType ModRdn
public static final ChangeType Delete
| Field Detail |
|---|
public static final int ADD_ORDINAL
public static final int MODIFY_ORDINAL
public static final int MODDN_ORDINAL
public static final int MODRDN_ORDINAL
public static final int DELETE_ORDINAL
| 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 int getChangeType()
public static ChangeType getChangeType(int val)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||