Class ChangeLogEntryAttributeExceededMaxValuesCount

  • All Implemented Interfaces:
    java.io.Serializable

    @NotMutable
    @ThreadSafety(level=COMPLETELY_THREADSAFE)
    public final class ChangeLogEntryAttributeExceededMaxValuesCount
    extends java.lang.Object
    implements java.io.Serializable
    This class provides a data structure for holding information read from a value of the ds-changelog-attr-exceeded-max-values-count attribute. Values should be in the form "attr=X,beforeCount=Y,afterCount=Z", where "X" is the name of the attribute which had too many values before and/or after the change, "Y" is the number of values the attribute had before the change, and "Z" is the number of values the attribute had after the change.
    NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ChangeLogEntryAttributeExceededMaxValuesCount​(java.lang.String s)
      Creates a new instance of this object from the provided string value from the ds-changelog-attr-exceeded-max-values-count.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Indicates whether the provided object is equal to this changelog attribute exceeded max values count object.
      long getAfterCount()
      Retrieves the number of values the specified attribute had in the target entry after the associated change was processed.
      java.lang.String getAttributeName()
      Retrieves the name of the attribute that exceeded the maximum number of values for inclusion in the ds-changelog-before-values and/or ds-changelog-after-values attribute of the changelog entry.
      long getBeforeCount()
      Retrieves the number of values the specified attribute had in the target entry before the associated change was processed.
      int hashCode()
      Generates a hash code for this changelog attribute exceeded max values count object.
      java.lang.String toString()
      Retrieves a string representation of this changelog entry attribute exceeded max values count.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ChangeLogEntryAttributeExceededMaxValuesCount

        public ChangeLogEntryAttributeExceededMaxValuesCount​(@NotNull
                                                             java.lang.String s)
                                                      throws LDAPException
        Creates a new instance of this object from the provided string value from the ds-changelog-attr-exceeded-max-values-count.
        Parameters:
        s - The value to be parsed.
        Throws:
        LDAPException - If an error occurred while attempting to parse the value.
    • Method Detail

      • getAttributeName

        @NotNull
        public java.lang.String getAttributeName()
        Retrieves the name of the attribute that exceeded the maximum number of values for inclusion in the ds-changelog-before-values and/or ds-changelog-after-values attribute of the changelog entry.
        Returns:
        The name of the attribute that exceeded the maximum number of values for inclusion in the ds-changelog-before-values and/or ds-changelog-after-values attribute of the changelog entry.
      • getBeforeCount

        public long getBeforeCount()
        Retrieves the number of values the specified attribute had in the target entry before the associated change was processed.
        Returns:
        The number of values the specified attribute had in the target entry before the associated change was processed, or zero if the attribute was not present in the entry before the change.
      • getAfterCount

        public long getAfterCount()
        Retrieves the number of values the specified attribute had in the target entry after the associated change was processed.
        Returns:
        The number of values the specified attribute had in the target entry after the associated change was processed, or zero if the attribute was not present in the entry after the change.
      • hashCode

        public int hashCode()
        Generates a hash code for this changelog attribute exceeded max values count object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        The generated hash code for this changelog attribute exceeded max values count object.
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object o)
        Indicates whether the provided object is equal to this changelog attribute exceeded max values count object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - The object for which to make the determination.
        Returns:
        true if the provided object may be considered equal to this changelog attribute exceeded max values count object, or false if not.
      • toString

        @NotNull
        public java.lang.String toString()
        Retrieves a string representation of this changelog entry attribute exceeded max values count.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of this changelog entry attribute exceeded max values count.