org.rcsb.openmms.meta
Class InsertWriter
java.lang.Object
|
+--org.rcsb.openmms.meta.TransVisitor
|
+--org.rcsb.openmms.meta.SqlWriter
|
+--org.rcsb.openmms.meta.InsertWriter
- All Implemented Interfaces:
- TypeNamesSql
- public class InsertWriter
- extends SqlWriter
Visitor subclass that writes the java JDBC code for inserting
data into the relational database (dbinsert).
- Version:
- 1.8
- Author:
- Douglas S. Greer
| 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 |
InsertWriter(CifDictionary d,
java.lang.String insertp,
java.lang.String lsr,
java.lang.String msa,
java.lang.String oBase)
|
| Methods inherited from class org.rcsb.openmms.meta.SqlWriter |
buffer, buffer, categoryNameToTableName, cifToSqlGetMethod, cifToSqlSetMethod, cifToSqlType, clearIllegalChars, flush, itemNameToAttributeName, literal, padString, padString, writeIntro, writeSysSpecific |
| Methods inherited from class org.rcsb.openmms.meta.TransVisitor |
close, closeException, closeField, closeFile, closeGetListMethod, closeInterface, closeMethod, closeStructure, closeValuetype, createConstant, createDirective, createExceptionField, createList, createSequence, createTypeDef, open, openException, openFile, openGetListMethod, openInterface, openMethod, setIndentString, writeBuffer, writeCopyright, writeCopyright, writeStr, writeStr, writeStr, writeStr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertWriter
public InsertWriter(CifDictionary d,
java.lang.String insertp,
java.lang.String lsr,
java.lang.String msa,
java.lang.String oBase)
openRoot
public void openRoot(RootTrans rt)
throws java.io.IOException,
TransGenException
- Overrides:
openRoot in class TransVisitor
java.io.IOException
TransGenException
closeRoot
public void closeRoot(RootTrans rt)
throws java.io.IOException,
TransGenException
- Overrides:
closeRoot in class TransVisitor
java.io.IOException
TransGenException
openModule
public void openModule(ModuleTrans mt)
throws java.io.IOException,
TransGenException
- Overrides:
openModule in class TransVisitor
java.io.IOException
TransGenException
closeModule
public void closeModule(ModuleTrans mt)
throws java.io.IOException,
TransGenException
- Overrides:
closeModule in class TransVisitor
java.io.IOException
TransGenException
openCategory
public void openCategory(CategoryTrans ct)
throws java.io.IOException,
TransGenException
- Overrides:
openCategory in class TransVisitor
java.io.IOException
TransGenException
closeCategory
public void closeCategory(CategoryTrans ct)
throws java.io.IOException,
TransGenException
- Overrides:
closeCategory in class TransVisitor
java.io.IOException
TransGenException
openStructure
public void openStructure(StructureTrans st)
throws java.io.IOException,
TransGenException
- Overrides:
openStructure in class TransVisitor
java.io.IOException
TransGenException
openValuetype
public void openValuetype(ValuetypeTrans st)
throws java.io.IOException,
TransGenException
- Overrides:
openValuetype in class TransVisitor
java.io.IOException
TransGenException
openField
public void openField(FieldTrans ft)
throws java.io.IOException,
TransGenException
- Overrides:
openField in class TransVisitor
java.io.IOException
TransGenException
closeField
public void closeField(SubfieldTrans ft)
throws java.io.IOException,
TransGenException
java.io.IOException
TransGenException
openSubfield
public void openSubfield(SubfieldTrans ft)
throws java.io.IOException,
TransGenException
- Overrides:
openSubfield in class TransVisitor
java.io.IOException
TransGenException
closeSubfield
public void closeSubfield(SubfieldTrans ft)
throws java.io.IOException,
TransGenException
- Overrides:
closeSubfield in class TransVisitor
java.io.IOException
TransGenException
openVector
public void openVector(VectorTrans vt)
throws java.io.IOException,
TransGenException
- Overrides:
openVector in class TransVisitor
java.io.IOException
TransGenException
closeVector
public void closeVector(VectorTrans vt)
throws java.io.IOException,
TransGenException
- Overrides:
closeVector in class TransVisitor
java.io.IOException
TransGenException
openMatrix
public void openMatrix(MatrixTrans mt)
throws java.io.IOException,
TransGenException
- Overrides:
openMatrix in class TransVisitor
java.io.IOException
TransGenException
closeMatrix
public void closeMatrix(MatrixTrans mt)
throws java.io.IOException,
TransGenException
- Overrides:
closeMatrix in class TransVisitor
java.io.IOException
TransGenException
openValueGroupSet
public void openValueGroupSet(FieldTrans ft)
throws java.io.IOException,
TransGenException
java.io.IOException
TransGenException
closeValueGroupSet
public void closeValueGroupSet(FieldTrans ft)
throws java.io.IOException,
TransGenException
java.io.IOException
TransGenException
OpenMMS, Copyright 2001, All rights reserved