atg.service.statistics
Class SampleLogEvent

java.lang.Object
  extended by atg.nucleus.logging.LogEvent
      extended by atg.service.statistics.SampleLogEvent

public class SampleLogEvent
extends LogEvent

A log event which represents a SampleEvent

See Also:
SampleEvent

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
SampleLogEvent(Sample pSample)
          Constructs an SampleLogEvent with the given SampleEvent
SampleLogEvent(Sample pSample, java.lang.String pOriginator)
          Constructs an SampleLogEvent with the given Sample and originator
 
Method Summary
 java.lang.String getIdentifier()
          Returns the String identifier for this type of log event.
 java.lang.String getMessage()
          Returns property Message
 Sample getSample()
          Returns property Sample
 
Methods inherited from class atg.nucleus.logging.LogEvent
getDateTimeStamp, getNullObjectReplacement, getOriginator, getThrowable, getTimeStamp, getTokenSeperator, setNullObjectReplacement, setTokenSeperator, toString, toStringBuffer, writeLogLinePrefix, writeLogMessage, writeOriginatorPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

SampleLogEvent

public SampleLogEvent(Sample pSample)
Constructs an SampleLogEvent with the given SampleEvent


SampleLogEvent

public SampleLogEvent(Sample pSample,
                      java.lang.String pOriginator)
Constructs an SampleLogEvent with the given Sample and originator

Method Detail

getSample

public Sample getSample()
Returns property Sample


getMessage

public java.lang.String getMessage()
Returns property Message

Overrides:
getMessage in class LogEvent

getIdentifier

public java.lang.String getIdentifier()
Returns the String identifier for this type of log event.

Overrides:
getIdentifier in class LogEvent