public class TableConfiguration extends Object implements Serializable
Constructor and Description |
---|
TableConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(ColumnConfiguration column) |
ColumnConfiguration |
getColumn(String columnName) |
List<ColumnConfiguration> |
getColumns() |
String |
getKeyType() |
String |
getName() |
ColumnConfiguration |
getPrimaryKey() |
String |
getSchema() |
void |
removeColumn(ColumnConfiguration column) |
void |
setColumns(List<ColumnConfiguration> columns) |
void |
setKeyType(String keyType) |
void |
setName(String name) |
void |
setPrimaryKey(String columnName) |
void |
setSchema(String schema) |
public String getName()
public void setName(String name)
public List<ColumnConfiguration> getColumns()
public void setColumns(List<ColumnConfiguration> columns)
public String getSchema()
public void setSchema(String schema)
public ColumnConfiguration getPrimaryKey() throws TinyDbException
TinyDbException
public void setPrimaryKey(String columnName) throws TinyDbException
TinyDbException
public void addColumn(ColumnConfiguration column)
public void removeColumn(ColumnConfiguration column)
public String getKeyType()
public void setKeyType(String keyType)
public ColumnConfiguration getColumn(String columnName)
Copyright © 2006–2018 TinyGroup. All rights reserved.