Package com.netscape.cmscore.dbs
Class DBRecord
- java.lang.Object
-
- com.netscape.cmscore.dbs.DBRecord
-
- All Implemented Interfaces:
IAttrSet
,com.netscape.certsrv.dbs.IDBObj
,java.io.Serializable
public class DBRecord extends java.lang.Object implements com.netscape.certsrv.dbs.IDBObj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String name)
Deletes an attribute value from this AttrSet.java.lang.Object
get(java.lang.String name)
Gets an attribute value.java.util.Enumeration<java.lang.String>
getElements()
Returns an enumeration of the names of the attributes existing within this AttrSet.java.util.Enumeration<java.lang.String>
getSerializableAttrNames()
Returns a list of serializable attribute names.void
set(java.lang.String name, java.lang.Object value)
Sets an attribute value within this AttrSet.
-
-
-
Method Detail
-
set
public void set(java.lang.String name, java.lang.Object value) throws EBaseException
Description copied from interface:IAttrSet
Sets an attribute value within this AttrSet.- Specified by:
set
in interfaceIAttrSet
- Parameters:
name
- the name of the attributevalue
- the attribute object.- Throws:
EBaseException
- on attribute handling errors.
-
get
public java.lang.Object get(java.lang.String name) throws EBaseException
Description copied from interface:IAttrSet
Gets an attribute value.- Specified by:
get
in interfaceIAttrSet
- Parameters:
name
- the name of the attribute to return.- Throws:
EBaseException
- on attribute handling errors.
-
delete
public void delete(java.lang.String name) throws EBaseException
Description copied from interface:IAttrSet
Deletes an attribute value from this AttrSet.- Specified by:
delete
in interfaceIAttrSet
- Parameters:
name
- the name of the attribute to delete.- Throws:
EBaseException
- on attribute handling errors.
-
getElements
public java.util.Enumeration<java.lang.String> getElements()
Description copied from interface:IAttrSet
Returns an enumeration of the names of the attributes existing within this AttrSet.- Specified by:
getElements
in interfaceIAttrSet
- Returns:
- an enumeration of the attribute names.
-
getSerializableAttrNames
public java.util.Enumeration<java.lang.String> getSerializableAttrNames()
Description copied from interface:com.netscape.certsrv.dbs.IDBObj
Returns a list of serializable attribute names. This method should return the attribute name even if there is no attribute value for the attribute.- Specified by:
getSerializableAttrNames
in interfacecom.netscape.certsrv.dbs.IDBObj
- Returns:
- a list of serializable attribute names
-
-