org.melati.poem
Class ValueInfoTable

Package class diagram package ValueInfoTable
java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.melati.poem.PoemTable
          extended by org.melati.poem.generated.ValueInfoTableBase
              extended by org.melati.poem.ValueInfoTable
All Implemented Interfaces:
Selectable, Table
Direct Known Subclasses:
ColumnInfoTableBase, SettingTableBase

public class ValueInfoTable
extends ValueInfoTableBase

Melati POEM generated, programmer modifiable stub for a ValueInfoTable object.

Field summary for SQL table ValueInfo
NameTypeDescription
displayname String A user-friendly name for the field
description String A brief description of the field's function
usereditable Boolean Whether it makes sense for the user to update the field's value
typefactory PoemTypeFactory The field's Melati type
nullable Boolean Whether the field can be empty
size Integer For character fields, the maximum number of characters that can be stored, (-1 for unlimited)
width Integer A sensible width for text boxes used for entering the field, where appropriate
height Integer A sensible height for text boxes used for entering the field, where appropriate
precision Integer Precision (total number of digits) for fixed-point numbers
scale Integer Scale (number of digits after the decimal) for fixed-point numbers
renderinfo String The name of the Melati templet (if not the default) to use for input controls for the field
rangelow_string String The low end of the range of permissible values for the field
rangelimit_string String The (exclusive) limit of the range of permissible values for the field

Generator
org.melati.poem.prepro.TableDef#generateTableMainJava

Constructor Summary
ValueInfoTable(Database database, String name, DefinitionSource definitionSource)
          Constructor.
 
Method Summary
 
Methods inherited from class org.melati.poem.generated.ValueInfoTableBase
defaultDisplayOrder, getDescriptionColumn, getDisplaynameColumn, getHeightColumn, getNullableColumn, getPoemDatabaseTables, getPrecisionColumn, getRangelimit_stringColumn, getRangelow_stringColumn, getRenderinfoColumn, getScaleColumn, getSizeColumn, getTypefactoryColumn, getUsereditableColumn, getValueInfoObject, getValueInfoObject, getWidthColumn, init
 
Methods inherited from class org.melati.poem.PoemTable
postInitialise
 
Methods inherited from class org.melati.poem.JdbcTable
_getColumn, _newPersistent, addColumnAndCommit, addListener, appendWhereClause, cachedCount, cachedCount, cachedCount, cachedCount, cachedCount, cachedExists, cachedSelection, cachedSelectionField, cachedSelectionType, canDeleteColumn, canReadColumn, canSelectColumn, canWriteColumn, clearColumnInfoCaches, cnfWhereClause, cnfWhereClause, columns, columnWithColumnInfoID, count, count, count, count, countSQL, countSQL, create, create, createTableInfo, dbAddConstraints, dbModifyStructure, defaultCacheLimit, defaultCategory, defaultDescription, defaultDisplayName, defaultOrderByClause, defaultRememberAllTroids, defineColumn, delete_unsafe, delete, deleteColumnAndCommit, deletedColumn, displayColumn, displayColumns, displayColumnsCount, dump, dump, dumpCacheAnalysis, equals, exists, exists, extrasCount, firstSelection, getCacheInfo, getCanCreate, getCategory, getColumn, getColumnsCount, getDatabase, getDbmsTableType, getDefaultCanDelete, getDefaultCanRead, getDefaultCanWrite, getDescription, getDetailDisplayColumns, getDetailDisplayColumnsCount, getDisplayName, getDsdName, getInfo, getMostRecentTroid, getName, getNextExtrasIndex, getObject, getObject, getRecordDisplayColumns, getRecordDisplayColumnsCount, getSearchCriterionColumns, getSearchCriterionColumnsCount, getSummaryDisplayColumns, getSummaryDisplayColumnsCount, getTableInfo, hashCode, invalidateTransactionStuffs, load, newPersistent, notifyColumnInfo, notifyTouched, primaryCriterionColumn, quotedName, readLock, referencesTo, referencesTo, rememberAllTroids, selection, selection, selection, selection, selection, selection, selectionSQL, serial, setCacheLimit, setDisplayColumn, setSearchColumn, setTableInfo, tableInfoID, toString, trimCache, troidColumn, troidFor, troidSelection, troidSelection, troidSelection, uncache, unifyWithColumnInfo, unifyWithDB, whereClause, whereClause, writeDown
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueInfoTable

public ValueInfoTable(Database database,
                      String name,
                      DefinitionSource definitionSource)
               throws PoemException
Constructor.

Parameters:
database - the POEM database we are using
name - the name of this Table
definitionSource - which definition is being used
Throws:
PoemException - if anything goes wrong
Generator
org.melati.poem.prepro.TableDef#generateTableMainJava


Copyright © 2000-2010 PanEris. All Rights Reserved.