com.netscape.certsrv.base
Class MetaInfo

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

public class MetaInfo
extends java.lang.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: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $
See Also:
Serialized Form

Field Summary
static java.lang.String IN_LDAP_PUBLISH_DIR
           
static java.lang.String REQUEST_ID
           
 
Constructor Summary
MetaInfo()
          Constructs a meta information.
 
Method Summary
 void delete(java.lang.String name)
          Deletes an attribute value from this CertAttrSet.
 java.lang.Object get(java.lang.String name)
          Gets an attribute value.
 java.util.Enumeration getElements()
          Returns an enumeration of the names of the attributes existing within this attribute.
 void set(java.lang.String name, java.lang.Object obj)
          Sets an attribute value.
 java.lang.String toString()
          Returns a short string describing this certificate attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REQUEST_ID

public static final java.lang.String REQUEST_ID
See Also:
Constant Field Values

IN_LDAP_PUBLISH_DIR

public static final java.lang.String IN_LDAP_PUBLISH_DIR
See Also:
Constant Field Values
Constructor Detail

MetaInfo

public MetaInfo()
Constructs a meta information.

Method Detail

toString

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

Overrides:
toString in class java.lang.Object
Returns:
information about this certificate attribute.

get

public java.lang.Object get(java.lang.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(java.lang.String name,
                java.lang.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(java.lang.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 java.util.Enumeration 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.