no.ntnu.vegare.visualizer.client.db
Class LogEntry
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogEntry
public LogEntry()
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()