public class DBO_tnt_tank extends DBObject
| Modifier and Type | Field and Description |
|---|---|
static DBColumnKey |
CAPACITY |
static DBColumnKey |
CHANGED_TS |
static DBColumnKey |
CHANGED_UID |
static DBColumnKey |
COMMENT |
static DBColumnKey |
CREATED_TS |
static DBColumnKey |
CREATED_UID |
static java.lang.String |
DBO_SUBCLASS_VERSION |
static DBColumnKey |
FLUID |
static DBColumnKey |
LEVEL |
static DBColumnKey |
TANK_ID |
BOOLEAN_CHAR, DBO_PREFIX, FALSE_STR, TRUE_STR| Constructor and Description |
|---|
DBO_tnt_tank() |
DBO_tnt_tank(int primaryKey) |
DBO_tnt_tank(java.lang.String... primaryKeys) |
| Modifier and Type | Method and Description |
|---|---|
static DBColumnKey[] |
attributeColumns() |
DBO_tnt_tank |
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() |
int |
get$Capacity() |
java.sql.Timestamp |
get$ChangedTs() |
int |
get$ChangedUid() |
java.lang.String |
get$Comment() |
java.sql.Timestamp |
get$CreatedTs() |
int |
get$CreatedUid() |
java.lang.String |
get$Fluid() |
int |
get$Level() |
java.lang.String |
get$TankId()
Returns the Primary key value
|
int |
get$TankIdAsInt()
Returns the primary key value as int
|
DBColumnKey[] |
getAttributeColumns()
Returns the attribute column definitions from the concrete subclass
|
static DBO_tnt_tank |
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_tnt_tank[] |
select() |
static DBO_tnt_tank[] |
select(SqlCondition condition) |
static DBO_tnt_tank[] |
select(SqlCondition condition,
SqlOrder order) |
static DBO_tnt_tank[] |
select(SqlOrder order) |
void |
set$Capacity(int value) |
void |
set$ChangedTs(java.sql.Timestamp value) |
void |
set$ChangedUid(int value) |
void |
set$Comment(java.lang.String value) |
void |
set$CreatedTs(java.sql.Timestamp value) |
void |
set$CreatedUid(int value) |
void |
set$Fluid(java.lang.String value) |
void |
set$Level(int value) |
void |
set$TankId(int value)
Sets the primary key value as int
|
void |
set$TankId(java.lang.String value)
Sets the Primary key 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, toStringdeepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, toDumpString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitdeepClonetoDumpString, toStringpublic static final java.lang.String DBO_SUBCLASS_VERSION
public static final DBColumnKey TANK_ID
public static final DBColumnKey CREATED_UID
public static final DBColumnKey CREATED_TS
public static final DBColumnKey CHANGED_UID
public static final DBColumnKey CHANGED_TS
public static final DBColumnKey LEVEL
public static final DBColumnKey CAPACITY
public static final DBColumnKey FLUID
public static final DBColumnKey COMMENT
public DBO_tnt_tank()
public DBO_tnt_tank(int primaryKey)
throws java.sql.SQLException,
RecordNotFoundException,
InvalidPrimaryKeyException
java.sql.SQLExceptionRecordNotFoundExceptionInvalidPrimaryKeyExceptionpublic DBO_tnt_tank(java.lang.String... primaryKeys)
throws java.sql.SQLException,
RecordNotFoundException,
InvalidPrimaryKeyException
java.sql.SQLExceptionRecordNotFoundExceptionInvalidPrimaryKeyExceptionpublic static java.lang.String tableName()
public static DBColumnKey[] primaryKeyColumns()
public static DBColumnKey[] attributeColumns()
public static DBO_tnt_tank getMaster()
public java.lang.String get$TankId()
public int get$TankIdAsInt()
public int get$CreatedUid()
public java.sql.Timestamp get$CreatedTs()
public int get$ChangedUid()
public java.sql.Timestamp get$ChangedTs()
public int get$Level()
public int get$Capacity()
public java.lang.String get$Fluid()
public java.lang.String get$Comment()
public void set$TankId(java.lang.String value)
public void set$TankId(int value)
public void set$CreatedUid(int value)
public void set$CreatedTs(java.sql.Timestamp value)
public void set$ChangedUid(int value)
public void set$ChangedTs(java.sql.Timestamp value)
public void set$Level(int value)
public void set$Capacity(int value)
public void set$Fluid(java.lang.String value)
public void set$Comment(java.lang.String value)
protected DBRecord createInstance()
createInstance in class DBObjectprotected DBRecord createInstance(java.lang.String... primaryKey) throws java.sql.SQLException, RecordNotFoundException, InvalidPrimaryKeyException
createInstance in class DBObjectjava.sql.SQLExceptionRecordNotFoundExceptionInvalidPrimaryKeyExceptionprotected void readPrimaryKeys(DBObject obj, int readIdx, java.sql.ResultSet rs) throws java.sql.SQLException
readPrimaryKeys in class DBObjectjava.sql.SQLExceptionprotected void readAttributes(DBObject obj, int readIdx, java.sql.ResultSet rs) throws java.sql.SQLException
readAttributes in class DBObjectjava.sql.SQLExceptionprotected void writePrimaryKeys(int writeIdx,
java.sql.PreparedStatement ps,
DumpString ds)
throws java.sql.SQLException
writePrimaryKeys in class DBObjectjava.sql.SQLExceptionprotected void writeAttributes(int writeIdx,
java.sql.PreparedStatement ps,
DumpString ds)
throws java.sql.SQLException
writeAttributes in class DBObjectjava.sql.SQLExceptionpublic DBColumnKey[] getPrimaryKeyColumns()
DBObjectgetPrimaryKeyColumns in class DBObjectDBObject.getPrimaryKeyNames(),
DBObject.getPrimaryKeyFullNames(),
DBObject.getPrimaryKeyValues()public DBColumnKey[] getAttributeColumns()
DBObjectgetAttributeColumns in class DBObjectDBObject.getAttributeNames(),
DBObject.getAttributeFullNames(),
DBObject.getAttributeValues()public DBRecord getMasterRecord()
getMasterRecord in interface DBRecordgetMasterRecord in class DBObjectpublic java.lang.String getTableName()
DBObjectgetTableName in class DBObjectpublic java.lang.String getTranslationAppKey()
DBRecordpublic DBO_tnt_tank clone()
public static DBO_tnt_tank[] select() throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_tank[] select(SqlCondition condition) throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_tank[] select(SqlOrder order) throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_tank[] select(SqlCondition condition, SqlOrder order) throws java.sql.SQLException
java.sql.SQLExceptionpublic static void load(DBLoadMonitor monitor) throws java.sql.SQLException
java.sql.SQLExceptionpublic static void load(DBLoadMonitor monitor, SqlOrder order) throws java.sql.SQLException
java.sql.SQLExceptionpublic static void load(DBLoadMonitor monitor, SqlCondition condition) throws java.sql.SQLException
java.sql.SQLExceptionpublic static void load(DBLoadMonitor monitor, SqlCondition condition, SqlOrder order) throws java.sql.SQLException
java.sql.SQLExceptionpublic static int delete(SqlCondition condition) throws java.sql.SQLException
java.sql.SQLExceptionpublic static boolean existsTable()
public static void createTable()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void dropTable()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static int countRecords()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static int countRecords(SqlCondition cond) throws java.sql.SQLException
java.sql.SQLExceptionpublic static void createForeignKeyConstraints()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.