Class MergeAttributeEntryHandler

  • All Implemented Interfaces:
    java.util.function.Function<LdapEntry,​LdapEntry>, LdapEntryHandler

    public class MergeAttributeEntryHandler
    extends AbstractEntryHandler<LdapEntry>
    implements LdapEntryHandler
    Merges the values of one or more attributes into a single attribute. The merged attribute may or may not already exist on the entry. If it does exist it's existing values will remain intact.
    Author:
    Middleware Services
    • Constructor Detail

      • MergeAttributeEntryHandler

        public MergeAttributeEntryHandler()
    • Method Detail

      • getMergeAttributeName

        public java.lang.String getMergeAttributeName()
        Returns the merge attribute name.
        Returns:
        merge attribute name
      • setMergeAttributeName

        public void setMergeAttributeName​(java.lang.String name)
        Sets the merge attribute name.
        Parameters:
        name - of the merge attribute
      • getAttributeNames

        public java.lang.String[] getAttributeNames()
        Returns the attribute names.
        Returns:
        attribute names
      • setAttributeNames

        public void setAttributeNames​(java.lang.String... names)
        Sets the attribute names.
        Parameters:
        names - of the attributes
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object