| Package | Description |
|---|---|
| org.melati.poem |
Persistent Object Engine for Melati.
|
| org.melati.poem.dbms |
POEM Drivers for assorted JDBC compliant DBMS.
|
| org.melati.poem.generated |
The POEM-generated support classes for org.melati.poem.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExtraColumn<T>
A
Column which exists in the dbms but is not defined in the
DSD. |
| Modifier and Type | Field and Description |
|---|---|
Column<?> |
UnindexableLogEvent.column
The Column we are dealing with.
|
Column<?> |
TypeDefinitionMismatchException.column
Column in which problem occurred.
|
Column<?> |
IndexUniquenessPoemException.column
The Column we are dealing with.
|
Column<?> |
FieldContentsPoemException.column
The Column we are dealing with.
|
Column<?> |
FieldAccessPoemException.column
The Column we are dealing with.
|
Column<?> |
DuplicateTroidColumnPoemException.column
The Column we are dealing with.
|
Column<?> |
DuplicateDeletedColumnPoemException.column
The Column we are dealing with.
|
Column<?> |
DuplicateColumnNamePoemException.column
The Column we are dealing with.
|
Column<?> |
ColumnInUsePoemException.column
The Column being defined a second time.
|
Column<?> |
Column.SettingException.column
The Column setting which caused the problem.
|
| Modifier and Type | Method and Description |
|---|---|
Column<?> |
Table.addColumnAndCommit(ColumnInfo infoP)
|
Column<?> |
JdbcTable.addColumnAndCommit(ColumnInfo infoP)
|
Column<Capability> |
Table.canDeleteColumn() |
Column<Capability> |
JdbcTable.canDeleteColumn() |
Column<Capability> |
Table.canReadColumn() |
Column<Capability> |
JdbcTable.canReadColumn() |
Column<Capability> |
Table.canSelectColumn() |
Column<Capability> |
JdbcTable.canSelectColumn() |
Column<Capability> |
Table.canWriteColumn() |
Column<Capability> |
JdbcTable.canWriteColumn() |
Column<?> |
Table.columnWithColumnInfoID(int columnInfoID) |
Column<?> |
JdbcTable.columnWithColumnInfoID(int columnInfoID) |
Column<Boolean> |
Table.deletedColumn() |
Column<Boolean> |
JdbcTable.deletedColumn() |
Column<?> |
Table.displayColumn()
The table's primary display column, the Troid column if not set.
|
Column<?> |
JdbcTable.displayColumn()
The table's primary display column, the Troid column if not set.
|
static <O,P extends Persistent> |
ExtraColumn.from(Table<P> table,
ColumnInfo columnInfo,
int extrasIndex,
DefinitionSource source)
Static factory.
|
Column<?> |
Table.getColumn(String nameP)
The table's column with a given name.
|
Column<?> |
JdbcTable.getColumn(String nameP)
The table's column with a given name.
|
Column<?> |
Table.primaryCriterionColumn()
In a similar manner to the primary display column, each table can have
one primary criterion column.
|
Column<?> |
JdbcTable.primaryCriterionColumn()
In a similar manner to the primary display column, each table can have
one primary criterion column.
|
Column<Integer> |
Table.troidColumn()
The table's troid column.
|
Column<Integer> |
JdbcTable.troidColumn()
The table's troid column.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<Column<?>> |
Table.columns()
All the table's columns.
|
Enumeration<Column<?>> |
JdbcTable.columns()
All the table's columns.
|
Enumeration<Column<?>> |
Database.columns() |
Enumeration<Column<?>> |
Table.displayColumns(DisplayLevel level)
Return columns at a display level in display order.
|
Enumeration<Column<?>> |
JdbcTable.displayColumns(DisplayLevel level)
Return columns at a display level in display order.
|
List<Column<?>> |
Table.getColumns()
A list of all the table's columns.
|
List<Column<?>> |
JdbcTable.getColumns() |
List<Column<?>> |
Database.getColumns()
Wrapper around columns()
|
Enumeration<Column<?>> |
Table.getDetailDisplayColumns()
The table's columns for detailed display in display order.
|
Enumeration<Column<?>> |
JdbcTable.getDetailDisplayColumns()
The table's columns for detailed display in display order.
|
Enumeration<Column<?>> |
Table.getRecordDisplayColumns()
The table's columns designated for display in a record, in display order.
|
Enumeration<Column<?>> |
JdbcTable.getRecordDisplayColumns()
The table's columns designated for display in a record, in display order.
|
List<Column<?>> |
Database.getReferencesTo(Table<?> table)
Wrapper around referencesTo()
|
Enumeration<Column<?>> |
Table.getSearchCriterionColumns()
The table's columns designated for use as search criteria, in display
order.
|
Enumeration<Column<?>> |
JdbcTable.getSearchCriterionColumns()
The table's columns designated for use as search criteria, in display
order.
|
Enumeration<Column<?>> |
Table.getSummaryDisplayColumns()
The table's columns designated for display in a record summary, in display
order.
|
Enumeration<Column<?>> |
JdbcTable.getSummaryDisplayColumns()
The table's columns designated for display in a record summary, in display
order.
|
Enumeration<Column<?>> |
Table.referencesTo(Table<?> table)
All the columns in the table which refer to the given table.
|
Enumeration<Column<?>> |
JdbcTable.referencesTo(Table<?> table)
All the columns in the table which refer to the given table.
|
Enumeration<Column<?>> |
Database.referencesTo(Table<?> tableIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
Table.defineColumn(Column<?> column)
Don't call this in your application code.
|
void |
JdbcTable.defineColumn(Column<?> column)
Don't call this in your application code.
|
Enumeration<Persistent> |
IntegrityFix.referencesTo(Persistent referee,
Column<?> column,
Enumeration<Persistent> refs,
Map<Column<?>,IntegrityFix> referenceFixOfColumn)
Do something about references from a given column to a
Persistent which is about to be deleted. |
abstract Enumeration<Persistent> |
StandardIntegrityFix.referencesTo(Persistent referee,
Column column,
Enumeration refs,
Map referenceFixOfColumn)
Each
StandardIntegrityFix differs from another by the
way they implement {#referencesTo}. |
void |
JdbcTable.setDisplayColumn(Column column) |
void |
Table.setDisplayColumn(Column<?> column) |
void |
Table.setSearchColumn(Column<?> column) |
void |
JdbcTable.setSearchColumn(Column<?> column) |
| Modifier and Type | Method and Description |
|---|---|
void |
Persistent.delete(Map<Column<?>,IntegrityFix> integrityFixOfColumn)
Delete the object.
|
void |
JdbcPersistent.delete(Map<Column<?>,IntegrityFix> columnToIntegrityFix)
Delete the object.
|
void |
Persistent.deleteAndCommit(Map<Column<?>,IntegrityFix> integrityFixOfColumn)
Delete the object, with even more safety checks for referential integrity.
|
void |
JdbcPersistent.deleteAndCommit(Map<Column<?>,IntegrityFix> integrityFixOfColumn)
Delete the object, with even more safety checks for referential integrity.
|
Enumeration<Field<?>> |
Persistent.fieldsOfColumns(Enumeration<Column<?>> columns)
Create Fields from Columns.
|
Enumeration<Field<?>> |
JdbcPersistent.fieldsOfColumns(Enumeration<Column<?>> columns)
Create Fields from Columns.
|
Enumeration<Persistent> |
IntegrityFix.referencesTo(Persistent referee,
Column<?> column,
Enumeration<Persistent> refs,
Map<Column<?>,IntegrityFix> referenceFixOfColumn)
Do something about references from a given column to a
Persistent which is about to be deleted. |
| Constructor and Description |
|---|
CachedTailoredQuery(Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Constructor with modifier null.
|
CachedTailoredQuery(String modifier,
Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Full Constructor.
|
ColumnInUsePoemException(Table<?> table,
Column<?> column)
Constructor.
|
DuplicateColumnNamePoemException(Table<?> table,
Column<?> column)
Constructor.
|
DuplicateDeletedColumnPoemException(Table<?> table,
Column<?> column)
Constructor.
|
DuplicateTroidColumnPoemException(Table<?> table,
Column<?> column)
Constructor.
|
FieldAccessPoemException(Persistent object,
Column<?> column,
AccessToken token,
Capability capability)
Constructor.
|
FieldContentsPoemException(Column<?> column,
Exception problem)
Constructor.
|
IndexUniquenessPoemException(Column<?> column,
String indexName,
boolean meantToBeUnique)
Constructor.
|
LoadException(Column<?> column,
Exception problem)
Constructor.
|
PreparedTailoredQuery(Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Constructor with null modifier.
|
PreparedTailoredQuery(String modifier,
Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Full constructor.
|
ReadFieldAccessPoemException(Persistent object,
Column<?> column,
AccessToken token,
Capability capability)
Constructor.
|
ReadPasswordAccessPoemException(Persistent object,
Column<?> column,
AccessToken token,
Capability capability)
Constructor.
|
SettingException(Persistent persistent,
Column<?> column,
Exception trouble)
Constructor.
|
TailoredQuery(Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Construct a low-level SQL query, possibly including joins, from which
results come back in form of automatically-renderable Melati
Fields.
|
TailoredQuery(String modifier,
Column<?>[] selectedColumns,
Table<?>[] otherTables,
String whereClause,
String orderByClause)
Same as without the first argument except that it is inserted
between
SELECT and the column list. |
TypeDefinitionMismatchException(Column<?> column,
PoemType<?> newType,
DefinitionSource newTypeSource)
Constructor.
|
UnindexableLogEvent(Column<?> column)
Constructor.
|
WriteFieldAccessPoemException(Persistent object,
Column<?> column,
AccessToken token,
Capability capability)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MySQL.alterColumnAddCommentSQL(Column<?> column,
String comment)
MySQL does not do the normal thing.
|
String |
Hsqldb.alterColumnAddCommentSQL(Column<?> column,
String comment)
Our current version does not honour COMMENT.
|
String |
Dbms.alterColumnAddCommentSQL(Column<?> column,
String comment) |
String |
AnsiStandard.alterColumnAddCommentSQL(Column<?> column,
String comment)
TODO test on something which actually uses this
|
String |
SQLServer.alterColumnNotNullableSQL(String tableName,
Column<?> column)
Accommodate SQLServer syntax.
|
String |
MySQL.alterColumnNotNullableSQL(String tableName,
Column<?> column) |
String |
MSAccess.alterColumnNotNullableSQL(String tableName,
Column<?> column)
Accommodate SQLServer syntax.
|
String |
Dbms.alterColumnNotNullableSQL(String tableName,
Column<?> column)
Return the SQL snippet to alter a column to not nullable.
|
String |
AnsiStandard.alterColumnNotNullableSQL(String tableName,
Column<?> column) |
String |
SQLServer.booleanTrueExpression(Column<Boolean> booleanColumn)
Accommodate lack of boolean types in underlying DBMS.
|
String |
Oracle.booleanTrueExpression(Column<Boolean> booleanColumn) |
String |
Dbms.booleanTrueExpression(Column<Boolean> booleanColumn)
Accommodate lack of boolean types in underlying DBMS.
|
String |
AnsiStandard.booleanTrueExpression(Column<Boolean> booleanColumn) |
boolean |
SQLServer.canBeIndexed(Column<?> column)
MSSQL cannot index TEXT fields.
|
boolean |
Dbms.canBeIndexed(Column<?> column)
Whether a Column can have an SQL index applied to it.
|
boolean |
AnsiStandard.canBeIndexed(Column<?> column)
MSSQL cannot index a TEXT column.
|
String |
MySQL.getIndexLength(Column<?> column)
MySQL requires TEXT and BLOB field indices to have an
explicit length, 30 should be fine.
|
String |
Dbms.getIndexLength(Column<?> column)
Accommodate DBMS which require a length for BLOBS.
|
String |
AnsiStandard.getIndexLength(Column<?> column)
MySQL requires a length argument when creating an index on a BLOB or TEXT
column.
|
| Constructor and Description |
|---|
DuplicateKeySQLPoemException(Column<?> column,
String sql,
boolean insert,
SQLException e)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Column<Integer> |
TableInfoTableBase.getCachelimitColumn()
Retrieves the
Cachelimit Column for this
tableInfo Table. |
Column<Integer> |
TableInfoTableBase.getCancreateColumn()
Retrieves the
Cancreate Column for this
tableInfo Table. |
Column<Integer> |
GroupCapabilityTableBase.getCapabilityColumn()
Retrieves the
Capability Column for this
groupCapability Table. |
Column<Integer> |
TableInfoTableBase.getCategoryColumn()
Retrieves the
Category Column for this
tableInfo Table. |
Column<Integer> |
TableInfoTableBase.getDefaultcandeleteColumn()
Retrieves the
Defaultcandelete Column for this
tableInfo Table. |
Column<Integer> |
TableInfoTableBase.getDefaultcanreadColumn()
Retrieves the
Defaultcanread Column for this
tableInfo Table. |
Column<Integer> |
TableInfoTableBase.getDefaultcanwriteColumn()
Retrieves the
Defaultcanwrite Column for this
tableInfo Table. |
Column<String> |
ValueInfoTableBase.getDescriptionColumn()
Retrieves the
Description Column for this
ValueInfo Table. |
Column<String> |
TableInfoTableBase.getDescriptionColumn()
Retrieves the
Description Column for this
tableInfo Table. |
Column<Integer> |
ColumnInfoTableBase.getDisplaylevelColumn()
Retrieves the
Displaylevel Column for this
columnInfo Table. |
Column<String> |
ValueInfoTableBase.getDisplaynameColumn()
Retrieves the
Displayname Column for this
ValueInfo Table. |
Column<String> |
TableInfoTableBase.getDisplaynameColumn()
Retrieves the
Displayname Column for this
tableInfo Table. |
Column<Integer> |
TableInfoTableBase.getDisplayorderColumn()
Retrieves the
Displayorder Column for this
tableInfo Table. |
Column<Integer> |
ColumnInfoTableBase.getDisplayorderColumn()
Retrieves the
Displayorder Column for this
columnInfo Table. |
Column<Integer> |
ColumnInfoTableBase.getDisplayorderpriorityColumn()
Retrieves the
Displayorderpriority Column for this
columnInfo Table. |
Column<Integer> |
GroupMembershipTableBase.getGroupColumn()
Retrieves the
Group Column for this
groupMembership Table. |
Column<Integer> |
GroupCapabilityTableBase.getGroupColumn()
Retrieves the
Group Column for this
groupCapability Table. |
Column<Integer> |
ValueInfoTableBase.getHeightColumn()
Retrieves the
Height Column for this
ValueInfo Table. |
Column<Integer> |
UserTableBase.getIdColumn()
Retrieves the
Id Column for this
user Table. |
Column<Integer> |
TableInfoTableBase.getIdColumn()
Retrieves the
Id Column for this
tableInfo Table. |
Column<Integer> |
TableCategoryTableBase.getIdColumn()
Retrieves the
Id Column for this
tableCategory Table. |
Column<Integer> |
SettingTableBase.getIdColumn()
Retrieves the
Id Column for this
setting Table. |
Column<Integer> |
GroupTableBase.getIdColumn()
Retrieves the
Id Column for this
group Table. |
Column<Integer> |
GroupMembershipTableBase.getIdColumn()
Retrieves the
Id Column for this
groupMembership Table. |
Column<Integer> |
GroupCapabilityTableBase.getIdColumn()
Retrieves the
Id Column for this
groupCapability Table. |
Column<Integer> |
ColumnInfoTableBase.getIdColumn()
Retrieves the
Id Column for this
columnInfo Table. |
Column<Integer> |
CapabilityTableBase.getIdColumn()
Retrieves the
Id Column for this
capability Table. |
Column<Boolean> |
ColumnInfoTableBase.getIndexedColumn()
Retrieves the
Indexed Column for this
columnInfo Table. |
Column<Integer> |
ColumnInfoTableBase.getIntegrityfixColumn()
Retrieves the
Integrityfix Column for this
columnInfo Table. |
Column<String> |
UserTableBase.getLoginColumn()
Retrieves the
Login Column for this
user Table. |
Column<String> |
UserTableBase.getNameColumn()
Retrieves the
Name Column for this
user Table. |
Column<String> |
TableInfoTableBase.getNameColumn()
Retrieves the
Name Column for this
tableInfo Table. |
Column<String> |
TableCategoryTableBase.getNameColumn()
Retrieves the
Name Column for this
tableCategory Table. |
Column<String> |
SettingTableBase.getNameColumn()
Retrieves the
Name Column for this
setting Table. |
Column<String> |
GroupTableBase.getNameColumn()
Retrieves the
Name Column for this
group Table. |
Column<String> |
ColumnInfoTableBase.getNameColumn()
Retrieves the
Name Column for this
columnInfo Table. |
Column<String> |
CapabilityTableBase.getNameColumn()
Retrieves the
Name Column for this
capability Table. |
Column<Boolean> |
ValueInfoTableBase.getNullableColumn()
Retrieves the
Nullable Column for this
ValueInfo Table. |
Column<String> |
UserTableBase.getPasswordColumn()
Retrieves the
Password Column for this
user Table. |
Column<Integer> |
ValueInfoTableBase.getPrecisionColumn()
Retrieves the
Precision Column for this
ValueInfo Table. |
Column<String> |
ValueInfoTableBase.getRangelimit_stringColumn()
Retrieves the
Rangelimit_string Column for this
ValueInfo Table. |
Column<String> |
ValueInfoTableBase.getRangelow_stringColumn()
Retrieves the
Rangelow_string Column for this
ValueInfo Table. |
Column<String> |
ValueInfoTableBase.getRenderinfoColumn()
Retrieves the
Renderinfo Column for this
ValueInfo Table. |
Column<Integer> |
ValueInfoTableBase.getScaleColumn()
Retrieves the
Scale Column for this
ValueInfo Table. |
Column<Integer> |
ColumnInfoTableBase.getSearchabilityColumn()
Retrieves the
Searchability Column for this
columnInfo Table. |
Column<Boolean> |
TableInfoTableBase.getSeqcachedColumn()
Retrieves the
Seqcached Column for this
tableInfo Table. |
Column<Integer> |
ValueInfoTableBase.getSizeColumn()
Retrieves the
Size Column for this
ValueInfo Table. |
Column<Boolean> |
ColumnInfoTableBase.getSortdescendingColumn()
Retrieves the
Sortdescending Column for this
columnInfo Table. |
Column<Integer> |
ColumnInfoTableBase.getTableinfoColumn()
Retrieves the
Tableinfo Column for this
columnInfo Table. |
Column<Integer> |
ValueInfoTableBase.getTypefactoryColumn()
Retrieves the
Typefactory Column for this
ValueInfo Table. |
Column<Boolean> |
ColumnInfoTableBase.getUniqueColumn()
Retrieves the
Unique Column for this
columnInfo Table. |
Column<Integer> |
GroupMembershipTableBase.getUserColumn()
Retrieves the
User Column for this
groupMembership Table. |
Column<Boolean> |
ColumnInfoTableBase.getUsercreateableColumn()
Retrieves the
Usercreateable Column for this
columnInfo Table. |
Column<Boolean> |
ValueInfoTableBase.getUsereditableColumn()
Retrieves the
Usereditable Column for this
ValueInfo Table. |
Column<String> |
SettingTableBase.getValueColumn()
Retrieves the
Value Column for this
setting Table. |
Column<Integer> |
ValueInfoTableBase.getWidthColumn()
Retrieves the
Width Column for this
ValueInfo Table. |
Copyright © 2000–2021 PanEris. All rights reserved.