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
ConstructorsConstructorDescriptionCreate 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, waitMethods 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:
isCaseIgnoredin interfaceAttributes
-
size
public int size()- Specified by:
sizein interfaceAttributes
-
get
- Specified by:
getin interfaceAttributes
-
getAll
- Specified by:
getAllin interfaceAttributes
-
getIDs
- Specified by:
getIDsin interfaceAttributes
-
iterator
- Specified by:
iteratorin interfaceIterable<NameAwareAttribute>
-
put
- Specified by:
putin interfaceAttributes
-
put
- Specified by:
putin interfaceAttributes
-
remove
- Specified by:
removein interfaceAttributes
-
clone
- Specified by:
clonein interfaceAttributes- Overrides:
clonein classObject
-
equals
-
hashCode
public int hashCode() -
toString
-