Enum ChangeOperationType

    • Method Detail

      • values

        public static ChangeOperationType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ChangeOperationType c : ChangeOperationType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ChangeOperationType 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
      • getType

        public String getType()
        Retrieves the human-readable name this change type.
        Returns:
        The human-readable name for this change type.
      • getLDIFChangeType

        public String getLDIFChangeType()
        Retrieves the name of the change type as it should appear in LDIF "changetype" records.
        Returns:
        The name of the change type as it should appear in LDIF "changetype" records.
      • toString

        public String toString()
        Retrieves a string representation of this type.
        Overrides:
        toString in class Enum<ChangeOperationType>
        Returns:
        A string representation of this type.