no.ntnu.vegare.visualizer.client.db
Class LogEntry

java.lang.Object
  extended by no.ntnu.vegare.visualizer.client.db.LogEntry
All Implemented Interfaces:
java.io.Serializable

public class LogEntry
extends java.lang.Object
implements java.io.Serializable

Bean holding a single log event record.

Generated by the DataGenerator or received from the server through the ServerPollDaemon.

Author:
vegare
See Also:
Serialized Form

Constructor Summary
LogEntry()
           
 
Method Summary
 java.lang.String getFacility()
           
 int getId()
           
 java.lang.String getIpaddress()
           
 com.maxmind.geoip.Location getLocation()
           
 java.lang.String getLocationString()
           
 java.lang.String getMessage()
           
 int getSeverity()
           
 int getTimestamp()
           
 void setFacility(java.lang.String facility)
           
 void setId(int id)
           
 void setIpaddress(java.lang.String ipaddress)
           
 void setMessage(java.lang.String message)
           
 void setSeverity(int severity)
           
 void setTimestamp(int timestamp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEntry

public LogEntry()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getTimestamp

public int getTimestamp()

setTimestamp

public void setTimestamp(int timestamp)

getFacility

public java.lang.String getFacility()

setFacility

public void setFacility(java.lang.String facility)

getSeverity

public int getSeverity()

setSeverity

public void setSeverity(int severity)

getIpaddress

public java.lang.String getIpaddress()

setIpaddress

public void setIpaddress(java.lang.String ipaddress)

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)

getLocation

public com.maxmind.geoip.Location getLocation()

getLocationString

public java.lang.String getLocationString()