org.springframework.ldap.core

## Class NameAwareAttributes

- java.lang.Object
- - org.springframework.ldap.core.NameAwareAttributes

- All Implemented Interfaces:
    Serializable, Cloneable, Attributes

      public final class NameAwareAttributes
      extends Object
      implements Attributes

  Used internally to help DirContextAdapter properly handle Names as values.
  Since:
    2.0
  Author:
    Mattias Hellborg Arthursson
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NameAwareAttributes()` Create an empty instance
    `NameAwareAttributes(Attributes attributes)` Create a new instance, populated with the data from the supplied instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `clone()`
    `boolean` | `equals(Object o)`
    `NameAwareAttribute` | `get(String attrID)`
    `NamingEnumeration<NameAwareAttribute>` | `getAll()`
    `NamingEnumeration<String>` | `getIDs()`
    `int` | `hashCode()`
    `boolean` | `isCaseIgnored()`
    `Attribute` | `put(Attribute attr)`
    `Attribute` | `put(String attrID, Object val)`
    `Attribute` | `remove(String attrID)`
    `int` | `size()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NameAwareAttributes

          public NameAwareAttributes()

      Create an empty instance

    - #### NameAwareAttributes

          public NameAwareAttributes(Attributes attributes)

      Create a new instance, populated with the data from the supplied instance.
      Parameters:
        `attributes` - the instance to copy.

  - ### Method Detail

    - #### isCaseIgnored

          public boolean isCaseIgnored()

      Specified by:
        `isCaseIgnored` in interface `Attributes`

    - #### size

          public int size()

      Specified by:
        `size` in interface `Attributes`

    - #### get

          public NameAwareAttribute get(String attrID)

      Specified by:
        `get` in interface `Attributes`

    - #### getAll

          public NamingEnumeration<NameAwareAttribute> getAll()

      Specified by:
        `getAll` in interface `Attributes`

    - #### getIDs

          public NamingEnumeration<String> getIDs()

      Specified by:
        `getIDs` in interface `Attributes`

    - #### put

          public Attribute put(String attrID,
                               Object val)

      Specified by:
        `put` in interface `Attributes`

    - #### put

          public Attribute put(Attribute attr)

      Specified by:
        `put` in interface `Attributes`

    - #### remove

          public Attribute remove(String attrID)

      Specified by:
        `remove` in interface `Attributes`

    - #### clone

          public Object clone()

      Specified by:
        `clone` in interface `Attributes`
      Overrides:
        `clone` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`