JSlim  


com.gtcgroup.jslim
Class LogRecordVO

java.lang.Object
  extended bycom.gtcgroup.jslim.LogRecordVO

final class LogRecordVO
extends java.lang.Object

This immutable class stores arguments for logging a record during inital loading of the descriptor document(s). After loading, accessor methods are used to write log records as per the logging properties in the descriptor document.

Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.

Since:
v. 1.0
Author:
MDT (MarvinToll@gtcGroup.com)

Field Summary
private  java.lang.String strExecuteMethod
          The method caching the log record.
private  java.lang.String strMessage
          The validation error message.
private  java.lang.String strSourceClass
          The class detecting the error.
private  java.lang.String strSourceMethod
          The method detecting the error.
 
Constructor Summary
(package private) LogRecordVO(java.lang.String strExecuteMethod, java.lang.String strSourceClass, java.lang.String strSourceMethod, java.lang.String strMessage)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
(package private)  java.lang.String getExecuteMethod()
          Returns the name of the method detecting the error.
(package private)  java.lang.String getMessage()
          Returns the name of the method writing the log record.
(package private)  java.lang.String getSourceClass()
          Returns the class name.
(package private)  java.lang.String getSourceMethod()
          Returns the name of the method writing the log record.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strExecuteMethod

private final java.lang.String strExecuteMethod
The method caching the log record.


strSourceClass

private final java.lang.String strSourceClass
The class detecting the error.


strSourceMethod

private final java.lang.String strSourceMethod
The method detecting the error.


strMessage

private final java.lang.String strMessage
The validation error message.

Constructor Detail

LogRecordVO

LogRecordVO(java.lang.String strExecuteMethod,
            java.lang.String strSourceClass,
            java.lang.String strSourceMethod,
            java.lang.String strMessage)
Constructor.

Parameters:
strExecuteMethod - The method caching the log record.
strSourceClass - The class detecting the error.
strSourceMethod - The method detecting the error.
strMessage - The validation error message.
Method Detail

getExecuteMethod

final java.lang.String getExecuteMethod()
Returns the name of the method detecting the error.

Returns:
The name of the method detecting the error.

getSourceMethod

final java.lang.String getSourceMethod()
Returns the name of the method writing the log record.

Returns:
The name of the method writing the log record.

getSourceClass

final java.lang.String getSourceClass()
Returns the class name.

Returns:
The class name.

getMessage

final java.lang.String getMessage()
Returns the name of the method writing the log record.

Returns:
The name of the method writing the log record.

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

JSlim  


Copyright (c) 1999 - 2004 by Global Technology Consulting Group, Inc. at gtcGroup.com.
Use is authorized, provided the source is acknowledged by inclusion of this copyright notice.