package com.springbook;
import java.util.Date;
/**
* Replace
*
* @author Justin Gehtland
* @version $Revision: 1.1 $ $Date: 2004/10/15 21:21:41 $
*/
public class LogEvent {
private int eventId;
private String methodName;
private Date dateTime;
private String message;
public LogEvent() {
}
public LogEvent(String methodName, Date date, String message) {
this.eventId = -1;
this.methodName = methodName;
this.dateTime = date;
this.message = message;
}
public LogEvent(String methodName, Date date) {
this(methodName, date, "");
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public int getEventId() {
return eventId;
}
public void setEventId(int eventId) {
this.eventId = eventId;
}
public String getMethodName() {
return methodName;
}
public void setMethodName(String methodName) {
this.methodName = methodName;
}
public Date getDateTime() {
return dateTime;
}
public void setDateTime(Date dateTime) {
this.dateTime = dateTime;
}
}
|