org.nuxeo.ecm.platform.tag.sql
Class Table
java.lang.Object
org.nuxeo.ecm.platform.tag.sql.Table
- All Implemented Interfaces:
- Serializable
public class Table
- extends Object
- implements Serializable
Table creation manager.
- Author:
- mcedica
- See Also:
- Serialized Form
Constructor Summary |
Table(String name)
Creates a new empty table. |
Table
public Table(String name)
- Creates a new empty table.
- Parameters:
name
- the table name.
getName
public String getName()
getQuotedName
public String getQuotedName(Dialect dialect)
getColumns
public List<Column> getColumns()
addColumn
public void addColumn(Column column)
getCreateSql
public String getCreateSql(Dialect dialect)
- Computes the SQL statement to create the table.
- Parameters:
dialect
- the dialect.
- Returns:
- the SQL create string.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.