Class NameAwareAttribute

java.lang.Object
org.springframework.ldap.core.NameAwareAttribute
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Object>, Attribute

public final class NameAwareAttribute extends Object implements Attribute, Iterable<Object>
Used internally to make DirContextAdapter properly handle Names as values.
Since:
2.0
See Also:
  • Constructor Details

    • NameAwareAttribute

      public NameAwareAttribute(String id, Object value)
      Construct a new instance with the specified id and one value.
      Parameters:
      id - the attribute id
      value - the value to start off with
    • NameAwareAttribute

      public NameAwareAttribute(Attribute attribute)
      Construct a new instance from the supplied Attribute.
      Parameters:
      attribute - the Attribute to copy.
    • NameAwareAttribute

      public NameAwareAttribute(String id)
      Construct a new instance with the specified id and no values.
      Parameters:
      id - the attribute id
    • NameAwareAttribute

      public NameAwareAttribute(String id, boolean orderMatters)
      Construct a new instance with the specified id, no values and order significance as specified.
      Parameters:
      id - the attribute id
      orderMatters - whether order has significance in this attribute.
  • Method Details