Package com.netscape.certsrv.base
Class MetaInfo
- java.lang.Object
-
- 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$, $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
IN_LDAP_PUBLISH_DIR
static java.lang.String
REQUEST_ID
-
Constructor Summary
Constructors Constructor Description MetaInfo()
Constructs a meta information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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<java.lang.String>
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.
-
-
-
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
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a short string describing this certificate attribute.- Overrides:
toString
in classjava.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 interfaceIAttrSet
- 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 interfaceIAttrSet
- Parameters:
name
- the name of the attributeobj
- 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 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()
Returns an enumeration of the names of the attributes existing within this attribute.- Specified by:
getElements
in interfaceIAttrSet
- Returns:
- an enumeration of the attribute names.
-
-