FileDocCategorySizeDatePackage
LogEvent.javaAPI DocExample1227Mon Apr 25 06:26:46 BST 2005com.springbook

LogEvent

public class LogEvent extends Object
Replace
author
Justin Gehtland
version
$Revision: 1.1 $ $Date: 2004/10/15 21:21:41 $

Fields Summary
private int
eventId
private String
methodName
private Date
dateTime
private String
message
Constructors Summary
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, "");
    
Methods Summary
public java.util.DategetDateTime()

        return dateTime;
    
public intgetEventId()

        return eventId;
    
public java.lang.StringgetMessage()

      return message;
   
public java.lang.StringgetMethodName()

        return methodName;
    
public voidsetDateTime(java.util.Date dateTime)

        this.dateTime = dateTime;
    
public voidsetEventId(int eventId)

        this.eventId = eventId;
    
public voidsetMessage(java.lang.String message)

      this.message = message;
   
public voidsetMethodName(java.lang.String methodName)

        this.methodName = methodName;