Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.directory.sql.repository
Class Insert

java.lang.Object
  extended by org.nuxeo.ecm.directory.sql.repository.Insert
All Implemented Interfaces:
java.io.Serializable

public class Insert
extends java.lang.Object
implements java.io.Serializable

An INSERT statement.

Author:
Florent Guillaume
See Also:
Serialized Form

Constructor Summary
Insert(Dialect dialect)
           
Insert(Dialect dialect, Table table, java.util.List<Column> columns)
           
 
Method Summary
 void addColumn(Column column)
           
 java.lang.String getStatement()
          Gets the insert statement, and fills in keys with free parameter names.
 void setTable(Table table)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Insert

public Insert(Dialect dialect)

Insert

public Insert(Dialect dialect,
              Table table,
              java.util.List<Column> columns)
Method Detail

setTable

public void setTable(Table table)

addColumn

public void addColumn(Column column)

getStatement

public java.lang.String getStatement()
Gets the insert statement, and fills in keys with free parameter names.

Returns:
the SQL insert statement.

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.