Enum SyncModifyDnType
- All Implemented Interfaces:
Serializable, Comparable<SyncModifyDnType>
The type of MODDN modification. One of MOVE, RENAME or MOVE_AND_RENAME
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA Move operationA Move and Rename operationA Rename operation -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncModifyDnTypegetModifyDnType(int value) Get the instance from it's interger valueintgetValue()Get the value associated with the current element.static SyncModifyDnTypeReturns the enum constant of this type with the specified name.static SyncModifyDnType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MOVE
A Move operation -
RENAME
A Rename operation -
MOVE_AND_RENAME
A Move and Rename operation
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()Get the value associated with the current element.- Returns:
- The value associated with the current element.
-
getModifyDnType
Get the instance from it's interger value- Parameters:
value- The value we are looking for- Returns:
- The associated value
-