public enum ChangeType extends Enum<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
|
Modifier and Type | Method and Description |
---|---|
int |
getChangeType()
Get's the ordinal value for a ChangeType.
|
static ChangeType |
getChangeType(int val) |
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 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 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)
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.