Class ExportTableInfo
- java.lang.Object
-
- org.ametys.plugins.contentio.export.sql.ExportTableInfo
-
public class ExportTableInfo extends Object
ExportTableInfo object
-
-
Constructor Summary
Constructors Constructor Description ExportTableInfo(String name)
The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommentQuery(String query)
Add a queryvoid
addCreateQuery(String query)
Add a queryvoid
addInsertQuery(String query)
Add a queryList<String>
getCommentQueries()
Get the list of queriesList<String>
getCreateQueries()
Get the list of queriesList<String>
getInsertQueries()
Get the list of queriesint
getNbColumns()
Get the number of columns of the tableString
getTableName()
Get the table namevoid
incrementNbColumns()
Increment the number of columnsvoid
incrementNbColumns(int nb)
Increment the number of columns by nb
-
-
-
Constructor Detail
-
ExportTableInfo
public ExportTableInfo(String name)
The constructor- Parameters:
name
- the table name
-
-
Method Detail
-
getTableName
public String getTableName()
Get the table name- Returns:
- the table name
-
getNbColumns
public int getNbColumns()
Get the number of columns of the table- Returns:
- the number of columns of the table
-
incrementNbColumns
public void incrementNbColumns()
Increment the number of columns
-
incrementNbColumns
public void incrementNbColumns(int nb)
Increment the number of columns by nb- Parameters:
nb
- the nb to add
-
getCreateQueries
public List<String> getCreateQueries()
Get the list of queries- Returns:
- the list of queries
-
addCreateQuery
public void addCreateQuery(String query)
Add a query- Parameters:
query
- the query to add
-
getCommentQueries
public List<String> getCommentQueries()
Get the list of queries- Returns:
- the list of queries
-
addCommentQuery
public void addCommentQuery(String query)
Add a query- Parameters:
query
- the query to add
-
getInsertQueries
public List<String> getInsertQueries()
Get the list of queries- Returns:
- the list of queries
-
addInsertQuery
public void addInsertQuery(String query)
Add a query- Parameters:
query
- the query to add
-
-