LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.sql
Class LySqlRequestInfoDebugTask

java.lang.Object
  extended by leon.peer.sql.LySqlRequestInfoDebugTask

public class LySqlRequestInfoDebugTask
extends java.lang.Object

Store debug info about the building of the sql request a task is a step in the building of the sql request.


Field Summary
static int _counter_seq
           
static java.lang.String NEW_LINE_TOKEN
           
static short TASK_STATUS_COMPLETED
           
static short TASK_STATUS_IN_PROGRESS
           
 
Constructor Summary
LySqlRequestInfoDebugTask()
           
 
Method Summary
 void addInfo(java.lang.String info)
          Add degug information about the task.
 void addSql(java.lang.String sql)
          Add SQL description for debug.
 void addTask(LySqlRequestInfoDebugTask task)
          ad.
 int getCounter()
           
 LySqlRequestInfoDebugTask getParentTask()
          return parent task.
 LySqlRequestInfoDebugTask getRootTask()
          return root task.
 void setStatus(short status)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TASK_STATUS_IN_PROGRESS

public static final short TASK_STATUS_IN_PROGRESS
See Also:
Constant Field Values

TASK_STATUS_COMPLETED

public static final short TASK_STATUS_COMPLETED
See Also:
Constant Field Values

NEW_LINE_TOKEN

public static final java.lang.String NEW_LINE_TOKEN
See Also:
Constant Field Values

_counter_seq

public static int _counter_seq
Constructor Detail

LySqlRequestInfoDebugTask

public LySqlRequestInfoDebugTask()
Method Detail

addTask

public void addTask(LySqlRequestInfoDebugTask task)
ad.

Parameters:
task -

setStatus

public void setStatus(short status)

addInfo

public void addInfo(java.lang.String info)
Add degug information about the task.

Parameters:
info - any textual information for debug

addSql

public void addSql(java.lang.String sql)
Add SQL description for debug.

Parameters:
sql - new sql fragment built by the process

getParentTask

public LySqlRequestInfoDebugTask getParentTask()
return parent task.

Returns:

getRootTask

public LySqlRequestInfoDebugTask getRootTask()
return root task.

Returns:

getCounter

public int getCounter()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com