Package org.springframework.ldap.core
Class NameAwareAttributes
java.lang.Object
org.springframework.ldap.core.NameAwareAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<NameAwareAttribute>
,Attributes
public final class NameAwareAttributes
extends Object
implements Attributes, Iterable<NameAwareAttribute>
Used internally to help DirContextAdapter properly handle Names as values.
- Since:
- 2.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate an empty instanceNameAwareAttributes
(Attributes attributes) Create a new instance, populated with the data from the supplied instance. -
Method Summary
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NameAwareAttributes
public NameAwareAttributes()Create an empty instance -
NameAwareAttributes
Create a new instance, populated with the data from the supplied instance.- Parameters:
attributes
- the instance to copy.
-
-
Method Details
-
isCaseIgnored
public boolean isCaseIgnored()- Specified by:
isCaseIgnored
in interfaceAttributes
-
size
public int size()- Specified by:
size
in interfaceAttributes
-
get
- Specified by:
get
in interfaceAttributes
-
getAll
- Specified by:
getAll
in interfaceAttributes
-
getIDs
- Specified by:
getIDs
in interfaceAttributes
-
iterator
- Specified by:
iterator
in interfaceIterable<NameAwareAttribute>
-
put
- Specified by:
put
in interfaceAttributes
-
put
- Specified by:
put
in interfaceAttributes
-
remove
- Specified by:
remove
in interfaceAttributes
-
clone
- Specified by:
clone
in interfaceAttributes
- Overrides:
clone
in classObject
-
equals
-
hashCode
public int hashCode() -
toString
-