cvm.model
Class CVM_Debug

java.lang.Object
  extended by cvm.model.CVM_Debug

public class CVM_Debug
extends java.lang.Object

This is used for simple debuging. 1 - It prints debugs messages when the bPrintDebug flag is set.

Author:
Frank Hernandez

Method Summary
static CVM_Debug getInstance()
           
 boolean isBPrintDebug()
          Retrun the value of bPrintDebug
 void printDebugMessage(java.lang.String mess)
          This methods print debug messages only if the bPrintDebug flag is set.
 void printDebugMessage(java.lang.String messID, java.lang.String mess)
          This methods print debug messages only if the bPrintDebug flag is set.
 void setBPrintDebug(boolean printDebug)
          Set the value of bPrintDebug
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CVM_Debug getInstance()

printDebugMessage

public void printDebugMessage(java.lang.String mess)
This methods print debug messages only if the bPrintDebug flag is set.

Parameters:
mess -

printDebugMessage

public void printDebugMessage(java.lang.String messID,
                              java.lang.String mess)
This methods print debug messages only if the bPrintDebug flag is set.

Parameters:
mess -

isBPrintDebug

public boolean isBPrintDebug()
Retrun the value of bPrintDebug

Returns:
true if debug is ON

setBPrintDebug

public void setBPrintDebug(boolean printDebug)
Set the value of bPrintDebug

Parameters:
printDebug -