OpenMMS
V1.5.1 Std

org.rcsb.openmms.dbinsert
Class SelectCategory

java.lang.Object
  |
  +--org.rcsb.openmms.util.SelectCategoryBase
        |
        +--org.rcsb.openmms.dbinsert.SelectCategory
All Implemented Interfaces:
TypeNamesSql
Direct Known Subclasses:
SelectCategoryFinal

public class SelectCategory
extends SelectCategoryBase

Class to create the JDBC code needed to select data from the relational database and store it in the Entry data structures.

Generated by the program MMSExpr. Model: Std, Revision: 3.0

Date: Tue Jul 29 17:48:54 PDT 2003

Version:
OpenMMS Release V_1_5_1
Author:
Douglas S. Greer

Field Summary
 
Fields inherited from class org.rcsb.openmms.util.SelectCategoryBase
categoryBase, categoryKey, categoryLength, Conn, entryKey, messagePanel, stmt
 
Fields inherited from interface org.rcsb.openmms.util.TypeNamesSql
bigBinaryType, bigTextType, CATEGORY_TABLE_CIF_ID_NAME, CATEGORY_TABLE_DESC_NAME, CATEGORY_TABLE_KEY_NAME, CATEGORY_TABLE_MAND_NAME, CATEGORY_TABLE_NAME, CATEGORY_TABLE_NEXT_RECORD_NAME, CATEGORY_TABLE_TABLE_NAME, dbTypeNames, ENTRY_CATS_CATEGORY_NAME, ENTRY_CATS_ENTRY_NAME, ENTRY_CATS_FIRST_KEY_NAME, ENTRY_CATS_LEN_NAME, ENTRY_CATS_TABLE_NAME, ENTRY_TABLE_DEP_DATE_NAME, ENTRY_TABLE_FLAG_BASE_NAME, ENTRY_TABLE_ID_NAME, ENTRY_TABLE_KEY_NAME, ENTRY_TABLE_LOAD_DATE_NAME, ENTRY_TABLE_LOAD_STATUS_NAME, ENTRY_TABLE_NAME, hugeTextType, IBM_DB2_FLAVOR, ITEM_TABLE_CAT_INDX_NAME, ITEM_TABLE_CIF_ID_NAME, ITEM_TABLE_COLUMN_NAME, ITEM_TABLE_DESC_NAME, ITEM_TABLE_KEY_NAME, ITEM_TABLE_MAND_NAME, ITEM_TABLE_NAME, KEY_ID_SUFFIX, largeTableQualifier, MICROSOFT_ACCESS_FLAVOR, MYSQL_FLAVOR, NUMBER_OF_FLAVORS, ORACLE_FLAVOR, SCHEMA_PREFIX, smallBinaryType, STD_DATE_TYPE, STD_KEY_TYPE, STD_LINE_TYPE, STD_NAME_TYPE, SYBASE_FLAVOR, SYSTEM_DATA_BANK_NAME, SYSTEM_MODEL_ID_NAME, SYSTEM_REVISION_NUMBER_NAME, SYSTEM_TABLE_NAME, SYSTEM_VERSION_NAME, TYPE_FIELD_LEN
 
Constructor Summary
SelectCategory(MessageHandler ps, java.sql.Connection con)
           
 
Method Summary
 int flagToKey(int module, int flag)
           
 java.lang.Object[] readListData(EntryMethodImpl ei, int module, int flag, boolean all, int from, int to)
           
 
Methods inherited from class org.rcsb.openmms.util.SelectCategoryBase
getCategoryBase, getCategoryKey, getCategoryLength, getConnection, getEntryKey, isFlagSet, readCategoryBase, readCategoryStats, setFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectCategory

public SelectCategory(MessageHandler ps,
                      java.sql.Connection con)
               throws java.sql.SQLException
Method Detail

flagToKey

public int flagToKey(int module,
                     int flag)
              throws DataAccessException
DataAccessException

readListData

public java.lang.Object[] readListData(EntryMethodImpl ei,
                                       int module,
                                       int flag,
                                       boolean all,
                                       int from,
                                       int to)
                                throws MmsTranslationException,
                                       java.sql.SQLException
MmsTranslationException
java.sql.SQLException

OpenMMS
V1.5.1 Std

OpenMMS, Copyright 2001, All rights reserved