public enum ChangeType extends Enum<ChangeType>
Enum Constant and Description |
---|
Add
The Add changeType
|
Delete
The Delete changeType
|
ModDn
The ModDn changeType
|
Modify
The Modify changeType
|
ModRdn
The ModRdn changeType
|
None
A place-holder when we have no changeType
|
Modifier and Type | Field and Description |
---|---|
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
|
static int |
NONE_ORDINAL
None ordinal value
|
Modifier and Type | Method and Description |
---|---|
int |
getChangeType()
Get's the ordinal value for a ChangeType.
|
static ChangeType |
getChangeType(int val)
Get the ChangeType instance from an integer value
|
static ChangeType |
valueOf(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.
|
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
public static final ChangeType None
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
public static final int NONE_ORDINAL
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType 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 getChangeType()
public static ChangeType getChangeType(int val)
val
- The value for the ChangeType we are looking forCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.