Package com.netscape.cmscore.dbs
Class DBRecord
- java.lang.Object
-
- com.netscape.cmscore.dbs.DBRecord
-
public class DBRecord extends java.lang.Object implements IDBObj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String name)Deletes an attribute value from this AttrSet.java.lang.Objectget(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.voidset(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 EBaseExceptionDescription copied from interface:IAttrSetSets an attribute value within this AttrSet.- Specified by:
setin 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 EBaseExceptionDescription copied from interface:IAttrSetGets an attribute value.- Specified by:
getin 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 EBaseExceptionDescription copied from interface:IAttrSetDeletes an attribute value from this AttrSet.- Specified by:
deletein 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:IAttrSetReturns an enumeration of the names of the attributes existing within this AttrSet.- Specified by:
getElementsin interfaceIAttrSet- Returns:
- an enumeration of the attribute names.
-
getSerializableAttrNames
public java.util.Enumeration<java.lang.String> getSerializableAttrNames()
Description copied from interface:IDBObjReturns 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:
getSerializableAttrNamesin interfaceIDBObj- Returns:
- a list of serializable attribute names
-
-