org.omus.db
Class DbTransactionPart
java.lang.Object
|
+--org.omus.db.DbTransactionPart
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DbReader, DbWriter
- public abstract class DbTransactionPart
- extends java.lang.Object
- implements java.io.Serializable
Abstract superclass of DbWriter and DbReader.
- See Also:
- Serialized Form
|
Method Summary |
void |
setAllParams(DataRow dr)
Adds all DataFields contained in the specified DataRow as a parameter to this
DbTransactionPart. |
void |
setParam(DataField df)
Adds the specified DataField as a parameter to this DbTransactionPart.
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
setParam
public void setParam(DataField df)
- Adds the specified DataField as a parameter to this DbTransactionPart.
The name of the DataField must match the name attribute of one of the
nodes you specified in the dbCustom.xml file.
setAllParams
public void setAllParams(DataRow dr)
- Adds all DataFields contained in the specified DataRow as a parameter to this
DbTransactionPart. The name of each DataField must have a matching name attribute
in one of the nodes you specified in the dbCustom.xml file.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object