All Packages Class Hierarchy This Package Previous Next Index
Interface com.netscape.certsrv.base.IAttrSet
- public interface IAttrSet
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");
-
delete(String)
- Deletes an attribute value from this AttrSet.
-
get(String)
- Gets an attribute value.
-
getElements()
- Returns an enumeration of the names of the attributes existing within
this AttrSet.
-
set(String, Object)
- Sets an attribute value within this AttrSet.
set
public abstract void set(String name,
Object obj) throws EBaseException
- Sets an attribute value within this AttrSet.
- Parameters:
- name - the name of the attribute
- obj - the attribute object.
- Throws: EBaseException
- on attribute handling errors.
get
public abstract Object get(String name) throws EBaseException
- Gets an attribute value.
- Parameters:
- name - the name of the attribute to return.
- Throws: EBaseException
- on attribute handling errors.
delete
public abstract void delete(String name) throws EBaseException
- Deletes an attribute value from this AttrSet.
- Parameters:
- name - the name of the attribute to delete.
- Throws: EBaseException
- on attribute handling errors.
getElements
public abstract Enumeration getElements()
- Returns an enumeration of the names of the attributes existing within
this AttrSet.
- Returns:
- an enumeration of the attribute names.
All Packages Class Hierarchy This Package Previous Next Index