Enum SyncModifyDnType

java.lang.Object
java.lang.Enum<SyncModifyDnType>
org.apache.directory.api.ldap.extras.controls.SyncModifyDnType
All Implemented Interfaces:
Serializable, Comparable<SyncModifyDnType>

public enum SyncModifyDnType extends Enum<SyncModifyDnType>
The type of MODDN modification. One of MOVE, RENAME or MOVE_AND_RENAME
Author:
Apache Directory Project
  • Enum Constant Details

  • Method Details

    • values

      public static SyncModifyDnType[] 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

      public static SyncModifyDnType valueOf(String name)
      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 name
      NullPointerException - 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

      public static SyncModifyDnType getModifyDnType(int value)
      Get the instance from it's interger value
      Parameters:
      value - The value we are looking for
      Returns:
      The associated value