com.bmc.cmdb.api
Class CMDBAuditLogInfo

java.lang.Object
  extended by com.bmc.cmdb.api.CMDBAuditInfo
      extended by com.bmc.cmdb.api.CMDBAuditLogInfo

public class CMDBAuditLogInfo
extends CMDBAuditInfo

The CMDBAuditLogInfo class allows you to define the audit log information for an instance. When the audit type is log for an instance, changes to the instance are written to a BMC Atrium CMDB log form. This class is extended from the CMDBAuditInfo class. Once you create the AuditLogInfo object, you can perform queries against it.


Field Summary
 
Fields inherited from class com.bmc.cmdb.api.CMDBAuditInfo
CMDB_CLASS_AUDITTYPE_COPY, CMDB_CLASS_AUDITTYPE_LOG, CMDB_CLASS_AUDITTYPE_NONE, CMDB_DEFAULT_AUDIT_LOG_FORM, CMDB_QUAL_TYPE_NONE, CMDB_QUAL_TYPE_STRING, CMDB_QUAL_TYPE_STRUCT
 
Constructor Summary
CMDBAuditLogInfo()
          Default Constructor that creates an empty CMDBAuditLogInfo object.
CMDBAuditLogInfo(int aType, java.lang.String aLogForm)
          Creates an CMDBAuditLogInfo object with the specified log form and Qualifier type.
CMDBAuditLogInfo(int aType, java.lang.String aQualStr, java.lang.String aLogForm)
          Creates a CMDBAuditLogInfo object with the specified qualifier type, qualifier string, and log form.
CMDBAuditLogInfo(java.lang.String aLogForm)
          Creates an CMDBAuditLogInfo object with the specified log form.
 
Method Summary
 java.lang.String getLogForm()
          Gets the BMC Atrium CMDB form into which the audit log entries are written.
 void setLogForm(java.lang.String aLogForm)
          Sets the BMC Atrium CMDB form into which the audit log entries are written.
 
Methods inherited from class com.bmc.cmdb.api.CMDBAuditInfo
getQualObject, getQualString, getQualType, getType, setQualObject, setQualString, setQualType, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMDBAuditLogInfo

public CMDBAuditLogInfo()
Default Constructor that creates an empty CMDBAuditLogInfo object.


CMDBAuditLogInfo

public CMDBAuditLogInfo(java.lang.String aLogForm)
Creates an CMDBAuditLogInfo object with the specified log form.

Parameters:
aLogForm - name of the log form

CMDBAuditLogInfo

public CMDBAuditLogInfo(int aType,
                        java.lang.String aLogForm)
Creates an CMDBAuditLogInfo object with the specified log form and Qualifier type.

Parameters:
aType - qualifier type
aLogForm - name of the log form

CMDBAuditLogInfo

public CMDBAuditLogInfo(int aType,
                        java.lang.String aQualStr,
                        java.lang.String aLogForm)
Creates a CMDBAuditLogInfo object with the specified qualifier type, qualifier string, and log form.

Parameters:
aType - log type for the given CMDBAuditLogInfo object
aQualStr - qualification string for the given CMDBAuditLogInfo object
aLogForm - name of log form for the given CMDBAuditLogInfo object
Method Detail

getLogForm

public java.lang.String getLogForm()
Gets the BMC Atrium CMDB form into which the audit log entries are written.

Overrides:
getLogForm in class CMDBAuditInfo
Returns:
logForm name of the log form for the given CMDBAuditLogInfo object

setLogForm

public void setLogForm(java.lang.String aLogForm)
Sets the BMC Atrium CMDB form into which the audit log entries are written.

Overrides:
setLogForm in class CMDBAuditInfo
Parameters:
aLogForm - name of the log form for the given CMDBAuditLogInfo object


(c) Copyright 2004-2007 BMC Software, Inc.