Package org.ldaptive

Class AttributeModification


  • public class AttributeModification
    extends Object
    Contains the data required to modify an ldap attribute.
    • Constructor Detail

      • AttributeModification

        public AttributeModification()
        Default constructor.
      • AttributeModification

        public AttributeModification​(AttributeModificationType type,
                                     LdapAttribute attr)
        Creates a new attribute modification.
        Parameters:
        type - attribute modification type
        attr - to modify
    • Method Detail

      • getAttributeModificationType

        public AttributeModificationType getAttributeModificationType()
        Returns the attribute modification type.
        Returns:
        attribute modification type
      • setAttributeModificationType

        public void setAttributeModificationType​(AttributeModificationType type)
        Sets the attribute modification type.
        Parameters:
        type - attribute modification type
      • getAttribute

        public LdapAttribute getAttribute()
        Returns the ldap attribute.
        Returns:
        ldap attribute
      • setAttribute

        public void setAttribute​(LdapAttribute attr)
        Sets the ldap attribute.
        Parameters:
        attr - ldap attribute