javax.naming.directory

Class BasicAttributes

public class BasicAttributes extends Object implements Attributes

UNKNOWN: June 22, 2001

Constructor Summary
BasicAttributes()
BasicAttributes(boolean ignoreCase)
BasicAttributes(String attrID, Object val)
BasicAttributes(String attrID, Object val, boolean ignoreCase)
Method Summary
Objectclone()
booleanequals(Object obj)
Returns true if and only if the given Object is an instance of Attributes, the given attributes both do or don't ignore case for IDs and the collection of attributes is the same.
Attributeget(String attrID)
NamingEnumeration<Attribute>getAll()
NamingEnumeration<String>getIDs()
inthashCode()
booleanisCaseIgnored()
Attributeput(Attribute attr)
Attributeput(String attrID, Object val)
Attributeremove(String attrID)
intsize()
StringtoString()

Constructor Detail

BasicAttributes

public BasicAttributes()

BasicAttributes

public BasicAttributes(boolean ignoreCase)

BasicAttributes

public BasicAttributes(String attrID, Object val)

BasicAttributes

public BasicAttributes(String attrID, Object val, boolean ignoreCase)

Method Detail

clone

public Object clone()

equals

public boolean equals(Object obj)
Returns true if and only if the given Object is an instance of Attributes, the given attributes both do or don't ignore case for IDs and the collection of attributes is the same.

get

public Attribute get(String attrID)

getAll

public NamingEnumeration<Attribute> getAll()

getIDs

public NamingEnumeration<String> getIDs()

hashCode

public int hashCode()

isCaseIgnored

public boolean isCaseIgnored()

put

public Attribute put(Attribute attr)

put

public Attribute put(String attrID, Object val)

remove

public Attribute remove(String attrID)

size

public int size()

toString

public String toString()