Package com.netscape.certsrv.base
Interface IAttrSet
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IDBObj
- All Known Implementing Classes:
AuthCredentials
,AuthzToken
,CertRecord
,CRLIssuingPointRecord
,DBRecord
,EmailResolverKeys
,Group
,KeyRecord
,MetaInfo
,RepositoryRecord
,RequestIAttrSetWrapper
,RequestRecord
This interface defines the abstraction for the generic collection
of attributes indexed by string names.
Set of cooperating implementations of this interface may exploit
dot-separated attribute names to provide seamless access to the
attributes of attribute value which also implements AttrSet
interface as if it was direct attribute of the container
E.g., ((AttrSet)container.get("x")).get("y") is equivalent to
container.get("x.y");
- Version:
- $Revision$, $Date$
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes an attribute value from this AttrSet.Gets an attribute value.Returns an enumeration of the names of the attributes existing within this AttrSet.void
Sets an attribute value within this AttrSet.
-
Method Details
-
set
Sets an attribute value within this AttrSet.- Parameters:
name
- the name of the attributeobj
- the attribute object.- Throws:
EBaseException
- on attribute handling errors.
-
get
Gets an attribute value.- Parameters:
name
- the name of the attribute to return.- Throws:
EBaseException
- on attribute handling errors.
-
delete
Deletes an attribute value from this AttrSet.- Parameters:
name
- the name of the attribute to delete.- Throws:
EBaseException
- on attribute handling errors.
-
getElements
Enumeration<String> getElements()Returns an enumeration of the names of the attributes existing within this AttrSet.- Returns:
- an enumeration of the attribute names.
-