Package ru.curs.celesta.score
Class ReadOnlyTable
- java.lang.Object
-
- ru.curs.celesta.score.NamedElement
-
- ru.curs.celesta.score.GrainElement
-
- ru.curs.celesta.score.DataGrainElement
-
- ru.curs.celesta.score.BasicTable
-
- ru.curs.celesta.score.ReadOnlyTable
-
- All Implemented Interfaces:
HasColumns
,TableElement
public final class ReadOnlyTable extends BasicTable
Read Only Table object in metadata.- Since:
- 2019-07-14
- Author:
- Pavel Perminov (packpaul@mail.ru)
-
-
Field Summary
-
Fields inherited from class ru.curs.celesta.score.NamedElement
MAX_IDENTIFIER_LENGTH
-
Fields inherited from interface ru.curs.celesta.score.TableElement
YOU_CANNOT_DROP_A_COLUMN_THAT_BELONGS_TO
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyTable(GrainPart gp, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasPrimeKey()
Whether the table has primary key.-
Methods inherited from class ru.curs.celesta.score.BasicTable
addColumn, finalizePK, getAutoincrementedColumn, getColumn, getColumnIndex, getColumns, getForeignKeys, getImplements, getIndices, getPkConstraintName, getPrimaryKey, hasMaterializedViews, isAutoUpdate, removeColumn, setAutoUpdate, setPK, setPkConstraintName, toString
-
Methods inherited from class ru.curs.celesta.score.DataGrainElement
delete
-
Methods inherited from class ru.curs.celesta.score.GrainElement
getGrain, getGrainPart
-
Methods inherited from class ru.curs.celesta.score.NamedElement
equals, getCelestaDoc, getName, getQuotedName, getQuotedNameIfNeeded, hashCode, limitName, limitName, setCelestaDoc
-
Methods inherited from interface ru.curs.celesta.score.TableElement
getGrain, getName, getQuotedName, getQuotedNameIfNeeded
-
-
-
-
Constructor Detail
-
ReadOnlyTable
public ReadOnlyTable(GrainPart gp, String name) throws ParseException
- Throws:
ParseException
-
-
Method Detail
-
hasPrimeKey
public boolean hasPrimeKey()
Description copied from interface:TableElement
Whether the table has primary key.- Returns:
-
-