planetj.database.fielddescriptors
Class FieldDataTable

java.lang.Object
  |
  +--planetj.database.Table
        |
        +--planetj.database.fielddescriptors.FieldDataTable
All Implemented Interfaces:
IDBObject, IFieldData, ITable, IXMLObject, Serializable

public class FieldDataTable
extends Table
implements IFieldData

See Also:
Serialized Form

Field Summary
 
Fields inherited from class planetj.database.Table
className, KEY_SEPARATOR
 
Fields inherited from interface planetj.database.fielddescriptors.IFieldData
APPLICATION_ID, ASSOCIATION_FIELD_ID, ASSOCIATION_ID, AUTHORIZE_EDIT_OPERATION, AUTHORIZE_READ_OPERATION, AUTO_TRIM_ON_READ, AUTO_TRIM_ON_WRITE, AUTO_TRIM_SPACES, AUTO_UPDATE_VALUE, BUFFER_LENGTH, CHAR_OCTET_LENGTH, COLUMN_DEF, COLUMN_NAME, COLUMN_SIZE, COMPANY_ID, CONCURRENCY, CONCURRENT_DELETES_ALLOWED, CONCURRENT_UPDATES_ALLOWED, CONCURRENT_UPDATES_AND_DELETES_ALLOWED, DATA_SQL_OPERATION_ID, DATA_TYPE, DECIMAL_DIGITS, DISPLAY_COMPONENT, DISPLAY_COMPONENT_ASSOC_OPERATION, DISPLAY_COMPONENT_EDITABLE_SELECT, DISPLAY_COMPONENT_EDITABLE_SELECT_TEXT_AREA, DISPLAY_COMPONENT_FILE_UPLOAD, DISPLAY_COMPONENT_LIST, DISPLAY_COMPONENT_RADIO_BUTTON_PV_SELECT, DISPLAY_COMPONENT_SYSTEM, DISPLAY_COMPONENT_TEXT_AREA, DISPLAY_HEIGHT, DISPLAY_LENGTH, DISPLAY_ORDER, DISPLAY_RULE, DISPLAY_RULE_ADMINISTRATOR, DISPLAY_RULE_ALWAYS, DISPLAY_RULE_HIDE_IF_NA_ALWAYS, DISPLAY_RULE_HIDE_IF_NA_ON_INSERT, DISPLAY_RULE_HIDE_IF_NA_ON_UPDATE, DISPLAY_RULE_HIDE_IF_NA_ON_UPDATE_AND_INSERT, DISPLAY_RULE_HIDE_ON_INSERT, DISPLAY_RULE_HIDE_ON_UPDATE, DISPLAY_RULE_HIDE_ON_UPDATE_AND_INSERT, DISPLAY_RULE_NEVER, DIVISION_ID, EXTERNAL_NAME, FIELD_CLASS, FIELD_CLASS_ID, FIELD_DATA_TABLE_NAME, FIELD_DESCRIPTOR_TYPE, FIELD_SET, FORMATTER_CLASS, FORMATTER_CLASS_ID, GETTER_METHOD, HELP_TEXT, ID, IS_AUTO_INCREMENT, IS_CASE_SENSITIVE, IS_CURRENCY, IS_DEFINITELY_WRITABLE, IS_NULLABLE, IS_READ_ONLY, IS_REQUIRED, IS_REQUIRED_ON_SEARCH, IS_SEARCHABLE, IS_SIGNED, IS_SORTABLE, IS_WRITABLE, KEY_POSITION, MAX_LIBRARY_NAME_LENGTH, MAX_TABLE_NAME_LENGTH, NO_CONCURRENT_ALTERATIONS_ALLOWED, NULLABLE, NUM_PREC_RADIX, ORDINAL_POSITION, ORIGIN_DB_METADATA, ORIGIN_FIELDDATA_FILE, ORIGIN_RS_METADATA, OWNER_ID, PARAM_DIGIT_REQUIRED, PARAM_MIN_LENGTH, POSSIBLE_VALUES_KEY, PV_CLASS, PV_CLASS_ID, PV_SQL_OPERATION_ID, REMARKS, SECURITY_ID, SECURITY_TYPE, SETTER_METHOD, SQL_DATA_TYPE, SQL_DATETIME_SUB, STATUS_CHANGE, STATUS_CHANGE_DEFAULT, STATUS_CHANGE_NO, STATUS_CHANGE_YES, STYLE_CLASS, SWITCHES, SYSTEM_ALIAS, SYSTEM_URL, TABLE_CAT, TABLE_ID, TABLE_NAME, TABLE_SCHEM, TYPE_DEFAULT_FIELD_DESCRIPTOR, TYPE_DERIVED_FIELD_DESCRIPTOR, TYPE_DRILL_DOWN_FIELD_DESCRIPTOR, TYPE_NAME, TYPE_ONE_TO_MANY_ASSOCIATION_FIELD_DESCRIPTOR, TYPE_ONE_TO_ONE_ASSOCIATION_FIELD_DESCRIPTOR, TYPE_POSSIBLE_VALUES_FIELD_DESCRIPTOR, TYPE_TABLE_DESCRIPTOR, USAGE_ID, XML_TAG
 
Constructor Summary
FieldDataTable()
          Create a mew FieldDataTable.
FieldDataTable(String pName, Library library)
          FieldDataTable constructor comment.
 
Method Summary
 void createFieldDescriptors()
          Creates and stores a FieldDescriptorCollection of FieldDescriptors for this table.
 Class getRowClass()
          Gets the subclass of Row that should be used for rows read from this table
 boolean isCheckedDataFileForFDs()
          Return flag to indicate if Field data file has already been checked for FieldDescriptors.
 boolean isFDsReadFromDBMetadata()
          Set this to true to ensure that we don't try to read the FD's for FD's from DB metadata.
 FieldDescriptorRow newFD()
           
 
Methods inherited from class planetj.database.Table
appendFullyQualifiedName, appendFullyQualifiedName, copyFieldDescriptors, createTable, createTable, createTableInDB, getAllOrderedColumnNames, getAllOrderedColumnNames, getAllRows, getAssociations, getAutoIncrementFieldDescriptors, getCreationSQL, getCreationSQL, getCreationSQL, getCreationSQL, getFieldDescriptor, getFieldDescriptor, getFieldDescriptorCollection, getFieldDescriptorCollection, getFieldDescriptorsWithAssociations, getFieldDescriptorsWithUsageIdOverlap, getFieldNames, getFullyQualifiedName, getIPAddress, getKeyFieldNames, getLastUpdated, getLibrary, getLibraryName, getLogicalFieldNames, getMetadataInvalidationTime, getMetaDataSystemAlias, getName, getPhysicalFieldNames, getPhysicalTable, getRow, getSystem, getSystemAlias, getSystemURL, getTable, getTable, getTableDescriptor, getXMLData, isExistenceConfirmed, isShared, setCheckedDataFileForFDs, setFDsReadFromDBMetadata, setLastUpdated, setMetadataInvalidationTime, toString, toTableCollection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldDataTable

public FieldDataTable()
Create a mew FieldDataTable. Don't directly invoke this method; use the createTable() method instead.


FieldDataTable

public FieldDataTable(String pName,
                      Library library)
FieldDataTable constructor comment.

Parameters:
pName - java.lang.String
library - planetj.database.Library
Method Detail

createFieldDescriptors

public void createFieldDescriptors()
                            throws CMException
Creates and stores a FieldDescriptorCollection of FieldDescriptors for this table.

Overrides:
createFieldDescriptors in class Table
Returns:
Map
CMException

getRowClass

public Class getRowClass()
Gets the subclass of Row that should be used for rows read from this table

Overrides:
getRowClass in class Table

isCheckedDataFileForFDs

public boolean isCheckedDataFileForFDs()
Return flag to indicate if Field data file has already been checked for FieldDescriptors.

Overrides:
isCheckedDataFileForFDs in class Table
Returns:
boolean

isFDsReadFromDBMetadata

public boolean isFDsReadFromDBMetadata()
Set this to true to ensure that we don't try to read the FD's for FD's from DB metadata.

Overrides:
isFDsReadFromDBMetadata in class Table
Returns:
boolean

newFD

public FieldDescriptorRow newFD()
                         throws CMException
CMException