|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fikin.sql.SQLPipeElement
public abstract class SQLPipeElement
Represent a base for all SQL Pipe Elements.
These objects are highly modular, very precise in its purpose elements, providing some sql command processing. Such as taking timing of statement exection, prpviding of actual statment execution, various error handling (continue on error) and many more.
Developers must subclass this one in order to create a new pipe element.
This class provide with default implementation of all basic methods leaving for subclasses onty execute().
created on Dec 15, 2006
Constructor Summary | |
---|---|
SQLPipeElement()
create an sql pipe element |
Method Summary | |
---|---|
abstract void |
execute(java.lang.String cmd)
execute given sql command |
protected java.lang.String |
getBaseClassName()
set the base classname to this one |
java.lang.Class |
getId()
what is the elements id i.e. |
SQLPipeElement |
getNext()
get next element |
SQLPipe |
getPipe()
get the pipe this object is created in |
void |
setNext(SQLPipeElement next)
assign next in the pipe element called by SQLPipe |
void |
setPipe(SQLPipe pipe)
assign the pipe this object will operate in called by SQLPipe itself |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLPipeElement()
Method Detail |
---|
public void setNext(SQLPipeElement next)
SQLPipe
next
- public SQLPipeElement getNext()
public java.lang.Class getId()
public SQLPipe getPipe()
public void setPipe(SQLPipe pipe)
SQLPipe
itself
pipe
- public abstract void execute(java.lang.String cmd) throws java.sql.SQLException
cmd
- to execute
java.sql.SQLException
- in case of errorprotected java.lang.String getBaseClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |