Class MetaInfo

java.lang.Object
com.netscape.certsrv.base.MetaInfo
All Implemented Interfaces:
IAttrSet, Serializable

public class MetaInfo extends Object implements IAttrSet
A class represents meta information. A meta information object is just a generic hashtable that is embedded into a request object.

Version:
$Revision$, $Date$
See Also:
  • Field Details

  • Constructor Details

    • MetaInfo

      public MetaInfo()
      Constructs a meta information.

  • Method Details

    • toString

      public String toString()
      Returns a short string describing this certificate attribute.

      Overrides:
      toString in class Object
      Returns:
      information about this certificate attribute.
    • get

      public Object get(String name) throws EBaseException
      Gets an attribute value.

      Specified by:
      get in interface IAttrSet
      Parameters:
      name - the name of the attribute to return.
      Throws:
      EBaseException - on attribute handling errors.
    • set

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

      public void delete(String name) throws EBaseException
      Deletes an attribute value from this CertAttrSet.

      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()
      Returns an enumeration of the names of the attributes existing within this attribute.

      Specified by:
      getElements in interface IAttrSet
      Returns:
      an enumeration of the attribute names.