com.sap.engine.interfaces.messaging.api.auditlog

Class AuditLogStatus

java.lang.Object
  extended by com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus
All Implemented Interfaces:
Serializable

public class AuditLogStatus
extends Object
implements Serializable

The AuditLogStatus object is a typed enum class that indicates the status of a AuditLogEntry object. The class encapsulates the database representation of the possible states of the status fields in the BC_MSG_AUDIT DB table in Java form. There are currently three possible status values:

Version:
$Id: //tc/xpi.ms/dev/src/_interface/pifce/api/com/sap/engine/interfaces/messaging/api/auditlog/AuditLogStatus.java#4 $
See Also:
Serialized Form

Field Summary
static AuditLogStatus ERROR
           
static AuditLogStatus SUCCESS
           
static AuditLogStatus WARNING
           
 
Method Summary
 boolean equals(Object obj)
           
static AuditLogStatus[] getAuditLogStatusList()
          Returns an array of all known AuditLogStatus constants.
 int hashCode()
           
protected  Object readResolve()
           
 String toString()
          Returns the string representation of the AuditLogStatus.
static AuditLogStatus valueOf(String s)
          Returns an instance of AuditLogStatus that represents the status given as a string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final AuditLogStatus SUCCESS

WARNING

public static final AuditLogStatus WARNING

ERROR

public static final AuditLogStatus ERROR
Method Detail

toString

public String toString()
Returns the string representation of the AuditLogStatus. This value can be used to get a AuditLogStatus instance by a call to valueOf(String).

Overrides:
toString in class Object
Returns:
The string representation of this AuditLogStatus instance.

valueOf

public static AuditLogStatus valueOf(String s)
Returns an instance of AuditLogStatus that represents the status given as a string. This will typically be used to create a AuditLogStatus object from a string retrieved from the database.

Throws:
NullPointerException - if the argument is null.
IllegalArgumentException - if the argument is not a known status.

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Throws:
ObjectStreamException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getAuditLogStatusList

public static AuditLogStatus[] getAuditLogStatusList()
Returns an array of all known AuditLogStatus constants.

Returns:
An array containing all known AuditLogStatus constants.


Copyright 2009 SAP AG Complete Copyright Notice