public class DBO_insert_def extends DBObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DBO_SUBCLASS_VERSION |
static DBColumnKey |
TABLE_COLUMN |
static DBColumnKey |
VALUE |
BOOLEAN_CHAR, DBO_PREFIX, FALSE_STR, TRUE_STR
Constructor and Description |
---|
DBO_insert_def() |
DBO_insert_def(java.lang.String... primaryKeys) |
Modifier and Type | Method and Description |
---|---|
static DBColumnKey[] |
attributeColumns() |
DBO_insert_def |
clone() |
static int |
countRecords() |
static int |
countRecords(SqlCondition cond) |
static void |
createForeignKeyConstraints() |
protected DBRecord |
createInstance() |
protected DBRecord |
createInstance(java.lang.String... primaryKey) |
static void |
createTable() |
static int |
delete(SqlCondition condition) |
static void |
dropTable() |
static boolean |
existsTable() |
java.lang.String |
get$TableColumn()
Returns the Primary key value
|
java.lang.String |
get$Value() |
DBColumnKey[] |
getAttributeColumns()
Returns the attribute column definitions from the concrete subclass
|
static DBO_insert_def |
getMaster() |
DBRecord |
getMasterRecord() |
DBColumnKey[] |
getPrimaryKeyColumns()
Returns the primary key column definition from the concrete subclass
|
java.lang.String |
getTableName()
Returns the name of the underlying database table
|
java.lang.String |
getTranslationAppKey()
Returns the main translation key for this record.
|
static void |
load(DBLoadMonitor monitor) |
static void |
load(DBLoadMonitor monitor,
SqlCondition condition) |
static void |
load(DBLoadMonitor monitor,
SqlCondition condition,
SqlOrder order) |
static void |
load(DBLoadMonitor monitor,
SqlOrder order) |
static DBColumnKey[] |
primaryKeyColumns() |
protected void |
readAttributes(DBObject obj,
int readIdx,
java.sql.ResultSet rs) |
protected void |
readPrimaryKeys(DBObject obj,
int readIdx,
java.sql.ResultSet rs) |
static DBO_insert_def[] |
select() |
static DBO_insert_def[] |
select(SqlCondition condition) |
static DBO_insert_def[] |
select(SqlCondition condition,
SqlOrder order) |
static DBO_insert_def[] |
select(SqlOrder order) |
void |
set$TableColumn(java.lang.String value)
Sets the Primary key value
|
void |
set$Value(java.lang.String value) |
static java.lang.String |
tableName() |
protected void |
writeAttributes(int writeIdx,
java.sql.PreparedStatement ps,
DumpString ds) |
protected void |
writePrimaryKeys(int writeIdx,
java.sql.PreparedStatement ps,
DumpString ds) |
addRecordChangeListener, addSqlListener, begin, begin, checkSubclassVersion, clearAttributes, clearPrimaryKey, clearStatementCache, clearValues, close, close, commit, compareTo, connect, connect, connect, convertArray, copyRecordValues, createDumpHeader, createInstance, createInstance, dbCountRecords, dbCountRecords, dbCreateForeignKeyConstraints, dbCreateTable, dbDelete, dbDelete, dbDropTable, dbExists, dbExistsTable, dbForceInsert, dbForceUpdate, dbGetBlob, dbGetBoolean, dbGetBooleanFromChar, dbGetClob, dbGetDate, dbGetDouble, dbGetFloat, dbGetInt, dbGetLong, dbGetString, dbGetTime, dbGetTimestamp, dbInsert, dbLoad, dbLoad, dbLoad, dbLoad, dbRehash, dbSearch, dbSearch, dbSearch, dbSearch, dbSelect, dbSelect, dbSelect, dbSelect, dbSetBlob, dbSetBlob, dbSetBoolean, dbSetBooleanAsChar, dbSetClob, dbSetClob, dbSetDate, dbSetDouble, dbSetFloat, dbSetInt, dbSetLong, dbSetPersistentId, dbSetPersistentName, dbSetPK, dbSetString, dbSetTime, dbSetTimestamp, dbUpdate, dumpStatementCache, equalAttributes, equalPrimaryKeys, equals, executeQuery, executeSQL, exists, existsField, forceInsert, forceUpdate, getAllColumns, getAttributeCount, getAttributeFullNames, getAttributeNames, getAttributeValues, getDataSource, getDecimalRoundingDigits, getDecimalRoundingMode, getErrorLogger, getFieldByIndex, getFieldByName, getFieldCount, getFieldDefinition, getFieldFullNames, getFieldIcon, getFieldLength, getFieldNames, getForeignKeyGroup, getForeignKeyGroups, getForeignKeyRef, getIndexOf, getInsertFactory, getJavaType, getJdbcType, getManagedDBObjects, getMasterRecord, getPrimaryKeyCount, getPrimaryKeyFactory, getPrimaryKeyFullNames, getPrimaryKeyNames, getPrimaryKeyOrder, getPrimaryKeyValues, getRdbmsInfo, getRdbmsSupport, getRecordName, getRenderColor, getRenderIcon, getRenderText, getSchema, getValue, getValue, getValues, getVersion, hasConnection, hashCode, hasPrimaryKey, invalidate, isDecimalRounding, isDirty, isFieldNumeric, isFieldVirtual, isForeignKey, isNotNullField, isPrimaryKey, isPrimaryKeyValid, isPrimaryKeyValid, isReadPrimaryKeyOnly, isSilent, isStoreZeroAsNull, isTrimStringsOnRead, isTrimStringsOnWrite, readObject, readObject, removeRecordChangeListener, removeSqlListener, rollback, roundValue, roundValue, setDataSource, setDecimalRounding, setErrorLogger, setFieldValue, setFieldValue, setInsertFactory, setPrimaryKeyFactory, setPrimaryKeyValues, setReadPrimaryKeyOnly, setSchema, setSilent, setStoreZeroAsNull, setTrimStringsOnRead, setTrimStringsOnWrite, toDumpString, toKey, toKey, toObject, toObject, toObject, toObject, toObject, toObject, toString
deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, toDumpString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
deepClone
toDumpString, toString
public static final java.lang.String DBO_SUBCLASS_VERSION
public static final DBColumnKey TABLE_COLUMN
public static final DBColumnKey VALUE
public DBO_insert_def()
public DBO_insert_def(java.lang.String... primaryKeys) throws java.sql.SQLException, RecordNotFoundException, InvalidPrimaryKeyException
java.sql.SQLException
RecordNotFoundException
InvalidPrimaryKeyException
public static java.lang.String tableName()
public static DBColumnKey[] primaryKeyColumns()
public static DBColumnKey[] attributeColumns()
public static DBO_insert_def getMaster()
public java.lang.String get$TableColumn()
public java.lang.String get$Value()
public void set$TableColumn(java.lang.String value)
public void set$Value(java.lang.String value)
protected DBRecord createInstance()
createInstance
in class DBObject
protected DBRecord createInstance(java.lang.String... primaryKey) throws java.sql.SQLException, RecordNotFoundException, InvalidPrimaryKeyException
createInstance
in class DBObject
java.sql.SQLException
RecordNotFoundException
InvalidPrimaryKeyException
protected void readPrimaryKeys(DBObject obj, int readIdx, java.sql.ResultSet rs) throws java.sql.SQLException
readPrimaryKeys
in class DBObject
java.sql.SQLException
protected void readAttributes(DBObject obj, int readIdx, java.sql.ResultSet rs) throws java.sql.SQLException
readAttributes
in class DBObject
java.sql.SQLException
protected void writePrimaryKeys(int writeIdx, java.sql.PreparedStatement ps, DumpString ds) throws java.sql.SQLException
writePrimaryKeys
in class DBObject
java.sql.SQLException
protected void writeAttributes(int writeIdx, java.sql.PreparedStatement ps, DumpString ds) throws java.sql.SQLException
writeAttributes
in class DBObject
java.sql.SQLException
public DBColumnKey[] getPrimaryKeyColumns()
DBObject
getPrimaryKeyColumns
in class DBObject
DBObject.getPrimaryKeyNames()
,
DBObject.getPrimaryKeyFullNames()
,
DBObject.getPrimaryKeyValues()
public DBColumnKey[] getAttributeColumns()
DBObject
getAttributeColumns
in class DBObject
DBObject.getAttributeNames()
,
DBObject.getAttributeFullNames()
,
DBObject.getAttributeValues()
public DBRecord getMasterRecord()
getMasterRecord
in interface DBRecord
getMasterRecord
in class DBObject
public java.lang.String getTableName()
DBObject
getTableName
in class DBObject
public java.lang.String getTranslationAppKey()
DBRecord
public DBO_insert_def clone()
public static DBO_insert_def[] select() throws java.sql.SQLException
java.sql.SQLException
public static DBO_insert_def[] select(SqlCondition condition) throws java.sql.SQLException
java.sql.SQLException
public static DBO_insert_def[] select(SqlOrder order) throws java.sql.SQLException
java.sql.SQLException
public static DBO_insert_def[] select(SqlCondition condition, SqlOrder order) throws java.sql.SQLException
java.sql.SQLException
public static void load(DBLoadMonitor monitor) throws java.sql.SQLException
java.sql.SQLException
public static void load(DBLoadMonitor monitor, SqlOrder order) throws java.sql.SQLException
java.sql.SQLException
public static void load(DBLoadMonitor monitor, SqlCondition condition) throws java.sql.SQLException
java.sql.SQLException
public static void load(DBLoadMonitor monitor, SqlCondition condition, SqlOrder order) throws java.sql.SQLException
java.sql.SQLException
public static int delete(SqlCondition condition) throws java.sql.SQLException
java.sql.SQLException
public static boolean existsTable()
public static void createTable() throws java.sql.SQLException
java.sql.SQLException
public static void dropTable() throws java.sql.SQLException
java.sql.SQLException
public static int countRecords() throws java.sql.SQLException
java.sql.SQLException
public static int countRecords(SqlCondition cond) throws java.sql.SQLException
java.sql.SQLException
public static void createForeignKeyConstraints() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2014 EsprIT-Systems. All Rights Reserved.