Class RepositoryRecord

java.lang.Object
com.netscape.cmscore.dbs.RepositoryRecord
All Implemented Interfaces:
IAttrSet, IDBObj, Serializable

public class RepositoryRecord extends Object implements IDBObj
A class represents a repository record. It maintains unique serial number within repository.
Author:
thomask
See Also:
  • Field Details

  • Constructor Details

    • RepositoryRecord

      public RepositoryRecord()
      Constructs a repository record.

  • Method Details

    • set

      public void set(String name, Object obj) throws EBaseException
      Sets attribute.
      Specified by:
      set in interface IAttrSet
      Parameters:
      name - the name of the attribute
      obj - the attribute object.
      Throws:
      EBaseException - on attribute handling errors.
    • get

      public Object get(String name) throws EBaseException
      Retrieves attribute from this record.
      Specified by:
      get in interface IAttrSet
      Parameters:
      name - the name of the attribute to return.
      Throws:
      EBaseException - on attribute handling errors.
    • delete

      public void delete(String name) throws EBaseException
      Deletes an attribute.
      Specified by:
      delete in interface IAttrSet
      Parameters:
      name - the name of the attribute to delete.
      Throws:
      EBaseException - on attribute handling errors.
    • getElements

      public Enumeration<String> getElements()
      Retrieves a list of attribute names.
      Specified by:
      getElements in interface IAttrSet
      Returns:
      an enumeration of the attribute names.
    • getSerializableAttrNames

      public Enumeration<String> getSerializableAttrNames()
      Description copied from interface: 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 interface IDBObj
      Returns:
      a list of serializable attribute names
    • getSerialNumber

      public BigInteger getSerialNumber()
      Retrieves serial number.
      Returns:
      serial number
    • getPublishingStatus

      public String getPublishingStatus()
    • getDescription

      public String getDescription()