peer2me.log
Class LogElement

java.lang.Object
  extended by peer2me.log.LogElement

public class LogElement
extends java.lang.Object

Describing an entry in the log as a LogElement holding LogElementType and a LogElementDate along with a textual description.

Author:
Tommy Bjoernsgaard

Method Summary
 LogElementDate getDate()
          Gets the date/time of the log-entry
 java.lang.String getText()
          Gets the description of the log-entry
 LogElementType getType()
          Gets the type of log-entry
 java.lang.String toString()
          Gives a better textual description.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDate

public LogElementDate getDate()
Gets the date/time of the log-entry

Returns:
the date as a LogElementDate object

getType

public LogElementType getType()
Gets the type of log-entry

Returns:
An int describing the LogElementType

getText

public java.lang.String getText()
Gets the description of the log-entry

Returns:
The string describing the log-entry

toString

public java.lang.String toString()
Gives a better textual description.

Overrides:
toString in class java.lang.Object