public final class Table extends BasicTable implements VersionedElement
MAX_IDENTIFIER_LENGTHREC_VERSIONYOU_CANNOT_DROP_A_COLUMN_THAT_BELONGS_TO| Constructor and Description |
|---|
Table(GrainPart grainPart,
String name) |
| Modifier and Type | Method and Description |
|---|---|
IntegerColumn |
getRecVersionField()
Returns a description of recversion field.
|
boolean |
hasPrimeKey()
Whether the table has primary key.
|
boolean |
isReadOnly()
Deprecated.
left for backwards compatibility.
|
boolean |
isVersioned()
Whether the table is versioned (WITH VERSION CHECK).
|
void |
setVersioned(boolean isVersioned)
Sets to the table option "versioned".
|
addColumn, finalizePK, getColumn, getColumnIndex, getColumns, getForeignKeys, getImplements, getIndices, getPkConstraintName, getPrimaryKey, isAutoUpdate, removeColumn, setAutoUpdate, setPK, setPkConstraintName, toStringdeletegetGrain, getGrainPartequals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName, setCelestaDocgetGrain, getName, getQuotedNamepublic Table(GrainPart grainPart, String name) throws ParseException
ParseExceptionpublic boolean hasPrimeKey()
TableElementhasPrimeKey in interface TableElement@Deprecated public boolean isReadOnly()
falsepublic boolean isVersioned()
VersionedElementisVersioned in interface VersionedElementpublic void setVersioned(boolean isVersioned)
isVersioned - "versioned" option valuepublic IntegerColumn getRecVersionField()
VersionedElementgetRecVersionField in interface VersionedElementCopyright © 2020 CURS. All rights reserved.