org.kuali.db
Class DatabaseEvent

java.lang.Object
  extended by org.kuali.db.DatabaseEvent

public class DatabaseEvent
extends Object

Pojo for a database event


Field Summary
(package private)  Throwable exception
           
(package private)  String message
           
(package private)  MessagePriority priority
           
(package private)  String sql
           
(package private)  int successfulStatements
           
(package private)  Date timestamp
           
(package private)  int totalStatements
           
(package private)  Transaction transaction
           
(package private)  int updateCountTotal
           
 
Constructor Summary
DatabaseEvent()
           
DatabaseEvent(String message)
           
DatabaseEvent(String message, MessagePriority priority)
           
DatabaseEvent(String message, MessagePriority priority, Date timestamp, Throwable exception, Transaction transaction)
           
 
Method Summary
 Throwable getException()
           
 String getMessage()
           
 MessagePriority getPriority()
           
 String getSql()
           
 int getSuccessfulStatements()
           
 Date getTimestamp()
           
 int getTotalStatements()
           
 Transaction getTransaction()
           
 int getUpdateCountTotal()
           
 void setException(Throwable exception)
           
 void setMessage(String message)
           
 void setPriority(MessagePriority priority)
           
 void setSql(String sql)
           
 void setSuccessfulStatements(int successfulStatements)
           
 void setTimestamp(Date timestamp)
           
 void setTotalStatements(int totalStatements)
           
 void setTransaction(Transaction transaction)
           
 void setUpdateCountTotal(int updateCountTotal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

String message

priority

MessagePriority priority

timestamp

Date timestamp

exception

Throwable exception

transaction

Transaction transaction

totalStatements

int totalStatements

successfulStatements

int successfulStatements

sql

String sql

updateCountTotal

int updateCountTotal
Constructor Detail

DatabaseEvent

public DatabaseEvent()

DatabaseEvent

public DatabaseEvent(String message)

DatabaseEvent

public DatabaseEvent(String message,
                     MessagePriority priority)

DatabaseEvent

public DatabaseEvent(String message,
                     MessagePriority priority,
                     Date timestamp,
                     Throwable exception,
                     Transaction transaction)
Method Detail

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

getPriority

public MessagePriority getPriority()

setPriority

public void setPriority(MessagePriority priority)

getTimestamp

public Date getTimestamp()

setTimestamp

public void setTimestamp(Date timestamp)

getException

public Throwable getException()

setException

public void setException(Throwable exception)

getTransaction

public Transaction getTransaction()

setTransaction

public void setTransaction(Transaction transaction)

getTotalStatements

public int getTotalStatements()

setTotalStatements

public void setTotalStatements(int totalStatements)

getSuccessfulStatements

public int getSuccessfulStatements()

setSuccessfulStatements

public void setSuccessfulStatements(int successfulStatements)

getSql

public String getSql()

setSql

public void setSql(String sql)

getUpdateCountTotal

public int getUpdateCountTotal()

setUpdateCountTotal

public void setUpdateCountTotal(int updateCountTotal)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.