public class AuditInfo extends Object implements Cloneable, Serializable
AuditInfo
class and methods are used to represent the properties of AuditInfo objects.
Note:
All the constants used in the AuditInfo
class are found in the
Constants
class.
Constructor and Description |
---|
AuditInfo()
constructor
|
AuditInfo(boolean enable,
int style,
String form,
QualifierInfo query,
int auditMask) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
String |
getAuditForm()
Gets the String for audit destination.
|
String |
getAuditFrom()
Gets the String for audit from.
|
int |
getAuditMask() |
int |
getAuditStyle()
Sets a bitmask for the audit styles.
|
QualifierInfo |
getQualifier()
Returns the qualification that determines which set of If/Else actions should be executed.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
boolean |
isEnable()
Returns flag whether this audit is enabled or disabled.
|
void |
setAuditForm(String form)
Sets the String for audit destination.
|
void |
setAuditMask(int auditMask) |
void |
setAuditStyle(int style) |
void |
setEnable(boolean enable)
Sets flag to enable or disable this audit.
|
void |
setQualifier(QualifierInfo query)
Sets the qualification that determines what data to be archived.
|
String |
toString()
Returns a string description of the object.
|
public AuditInfo()
public AuditInfo(boolean enable, int style, String form, QualifierInfo query, int auditMask)
public boolean isEnable()
public void setEnable(boolean enable)
public int getAuditStyle()
public void setAuditStyle(int style)
public String getAuditForm()
public void setAuditForm(String form)
form
- the name of the form which is the audit destinationpublic String getAuditFrom()
public QualifierInfo getQualifier()
public void setQualifier(QualifierInfo query)
NULL
or assign an
operation value of 0 (Constants.AR_COND_OP_NONE
) if the archive has no qualification.public void setAuditMask(int auditMask)
public int getAuditMask()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.