Arch4J 1.1

org.arch4j.dataaccess.common
Class Insert

java.lang.Object
  |
  +--org.arch4j.dataaccess.common.Insert
All Implemented Interfaces:
Query, UpdatableQuery

public class Insert
extends Object
implements UpdatableQuery

This class acts as a wrapper around insert statements It takes a table name and a Condition object in its contructor A typical usage would be Insert ins = new Insert ("MyTable")

Version:
1.0
Author:
SpiderLogic Team

Constructor Summary
Insert(String tableName)
           
 
Method Summary
 void add(String columnName, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Insert

public Insert(String tableName)
Method Detail

add

public void add(String columnName,
                Object value)
Specified by:
add in interface UpdatableQuery

toString

public String toString()
Overrides:
toString in class Object

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.