Interface LdapAttribute

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      This returns the name of this LdapAttribute.
      java.util.Set<java.lang.String> getStringValues()
      This returns the value(s) of this LdapAttribute Values are encoded in base64 format if the underlying value is of type byte[].
      java.util.Set<java.lang.Object> getValues()
      This returns the value(s) of this LdapAttribute.
      void setAttribute​(javax.naming.directory.Attribute attribute)
      This sets this LdapAttribute using the supplied attribute.
      void setName​(java.lang.String name)
      This sets the name of this LdapAttribute.
      javax.naming.directory.Attribute toAttribute()
      This returns an Attribute that represents the values in this LdapAttribute.
    • Method Detail

      • getName

        java.lang.String getName()
        This returns the name of this LdapAttribute.
        Returns:
        String
      • getValues

        java.util.Set<java.lang.Object> getValues()
        This returns the value(s) of this LdapAttribute.
        Returns:
        Set
      • getStringValues

        java.util.Set<java.lang.String> getStringValues()
        This returns the value(s) of this LdapAttribute Values are encoded in base64 format if the underlying value is of type byte[]. The returned set is unmodifiable.
        Returns:
        unmodifiable Set
      • setAttribute

        void setAttribute​(javax.naming.directory.Attribute attribute)
                   throws javax.naming.NamingException
        This sets this LdapAttribute using the supplied attribute.
        Parameters:
        attribute - Attribute
        Throws:
        javax.naming.NamingException - if the attribute values cannot be read
      • setName

        void setName​(java.lang.String name)
        This sets the name of this LdapAttribute.
        Parameters:
        name - String
      • toAttribute

        javax.naming.directory.Attribute toAttribute()
        This returns an Attribute that represents the values in this LdapAttribute.
        Returns:
        Attribute