public class TableDefinition extends Object
Constructor and Description |
---|
TableDefinition(int pageSize,
int recordSize,
ColumnDefinition... columns)
Constructor.
|
TableDefinition(int pageSize,
int recordSize,
String primaryKeyColumnName,
RowValidator rowValidator,
ColumnDefinition... columns)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ColumnDefinition[] |
getColumns()
Retrieve the column definitions.
|
int |
getPageSize()
Retrieve the page size.
|
String |
getPrimaryKeyColumnName()
Retrieve the optional primary key column name.
|
int |
getRecordSize()
Retrieve the record size.
|
RowValidator |
getRowValidator()
Retrieve the optional row validator.
|
public TableDefinition(int pageSize, int recordSize, ColumnDefinition... columns)
pageSize
- page size in bytesrecordSize
- record size in bytescolumns
- list of column definitionspublic TableDefinition(int pageSize, int recordSize, String primaryKeyColumnName, RowValidator rowValidator, ColumnDefinition... columns)
pageSize
- page size in bytesrecordSize
- record size in bytesprimaryKeyColumnName
- optional primary key column namerowValidator
- optional row validationcolumns
- list of column definitionspublic int getPageSize()
public int getRecordSize()
public String getPrimaryKeyColumnName()
public RowValidator getRowValidator()
public ColumnDefinition[] getColumns()
Copyright © 2000–2024 Packwood Software. All rights reserved.