Package com.netscape.cmscore.dbs
Class RepositoryRecord
- java.lang.Object
-
- com.netscape.cmscore.dbs.RepositoryRecord
-
- All Implemented Interfaces:
IAttrSet,IDBObj,IRepositoryRecord,java.io.Serializable
public class RepositoryRecord extends java.lang.Object implements IRepositoryRecord
A class represents a repository record.- Version:
- $Revision$, $Date$
- Author:
- thomask
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Vector<java.lang.String>mNames-
Fields inherited from interface com.netscape.certsrv.dbs.repository.IRepositoryRecord
ATTR_DESCRIPTION, ATTR_PUB_STATUS, ATTR_SERIALNO
-
-
Constructor Summary
Constructors Constructor Description RepositoryRecord()Constructs a repository record.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String name)Deletes an attribute.java.lang.Objectget(java.lang.String name)Retrieves attribute from this record.java.lang.StringgetDescription()java.util.Enumeration<java.lang.String>getElements()Retrieves a list of attribute names.java.lang.StringgetPublishingStatus()java.util.Enumeration<java.lang.String>getSerializableAttrNames()Returns a list of serializable attribute names.java.math.BigIntegergetSerialNumber()Retrieves serial number.voidset(java.lang.String name, java.lang.Object obj)Sets attribute.
-
-
-
Method Detail
-
set
public void set(java.lang.String name, java.lang.Object obj) throws EBaseExceptionSets attribute.- Specified by:
setin interfaceIAttrSet- Parameters:
name- the name of the attributeobj- the attribute object.- Throws:
EBaseException- on attribute handling errors.
-
get
public java.lang.Object get(java.lang.String name) throws EBaseExceptionRetrieves attribute from this record.- 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 EBaseExceptionDeletes an attribute.- 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()
Retrieves a list of attribute names.- 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
-
getSerialNumber
public java.math.BigInteger getSerialNumber()
Retrieves serial number.- Specified by:
getSerialNumberin interfaceIRepositoryRecord- Returns:
- serial number
-
getPublishingStatus
public java.lang.String getPublishingStatus()
- Specified by:
getPublishingStatusin interfaceIRepositoryRecord
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceIRepositoryRecord
-
-