public class DBO_tnt_alltype extends DBObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DBO_SUBCLASS_VERSION |
static DBColumnKey |
PK |
static DBColumnKey |
TYPE_BLOB |
static DBColumnKey |
TYPE_BOOLEAN |
static DBColumnKey |
TYPE_BOOLSTR |
static DBColumnKey |
TYPE_CLOB |
static DBColumnKey |
TYPE_DATE |
static DBColumnKey |
TYPE_DOUBLE |
static DBColumnKey |
TYPE_FLOAT |
static DBColumnKey |
TYPE_INT |
static DBColumnKey |
TYPE_LONG |
static DBColumnKey |
TYPE_STRING |
static DBColumnKey |
TYPE_TIME |
static DBColumnKey |
TYPE_TS |
static DBColumnKey |
TYPE_VARCHAR |
BOOLEAN_CHAR, DBO_PREFIX, FALSE_STR, TRUE_STR| Constructor and Description |
|---|
DBO_tnt_alltype() |
DBO_tnt_alltype(int primaryKey) |
DBO_tnt_alltype(java.lang.String... primaryKeys) |
| Modifier and Type | Method and Description |
|---|---|
static DBColumnKey[] |
attributeColumns() |
DBO_tnt_alltype |
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$Pk()
Returns the Primary key value
|
int |
get$PkAsInt()
Returns the primary key value as int
|
java.sql.Blob |
get$TypeBlob() |
boolean |
get$TypeBoolean() |
java.lang.Boolean |
get$TypeBoolstr() |
java.sql.Clob |
get$TypeClob() |
java.sql.Date |
get$TypeDate() |
double |
get$TypeDouble() |
double |
get$TypeFloat() |
int |
get$TypeInt() |
long |
get$TypeLong() |
java.lang.String |
get$TypeString() |
java.sql.Time |
get$TypeTime() |
java.sql.Timestamp |
get$TypeTs() |
java.lang.String |
get$TypeVarchar() |
DBColumnKey[] |
getAttributeColumns()
Returns the attribute column definitions from the concrete subclass
|
static DBO_tnt_alltype |
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_alltype[] |
select() |
static DBO_tnt_alltype[] |
select(SqlCondition condition) |
static DBO_tnt_alltype[] |
select(SqlCondition condition,
SqlOrder order) |
static DBO_tnt_alltype[] |
select(SqlOrder order) |
void |
set$Pk(int value)
Sets the primary key value as int
|
void |
set$Pk(java.lang.String value)
Sets the Primary key value
|
void |
set$TypeBlob(java.sql.Blob value) |
void |
set$TypeBoolean(boolean value) |
void |
set$TypeBoolstr(java.lang.Boolean value) |
void |
set$TypeClob(java.sql.Clob value) |
void |
set$TypeDate(java.sql.Date value) |
void |
set$TypeDouble(double value) |
void |
set$TypeFloat(double value) |
void |
set$TypeInt(int value) |
void |
set$TypeLong(long value) |
void |
set$TypeString(java.lang.String value) |
void |
set$TypeTime(java.sql.Time value) |
void |
set$TypeTs(java.sql.Timestamp value) |
void |
set$TypeVarchar(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, 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 PK
public static final DBColumnKey TYPE_STRING
public static final DBColumnKey TYPE_VARCHAR
public static final DBColumnKey TYPE_INT
public static final DBColumnKey TYPE_LONG
public static final DBColumnKey TYPE_FLOAT
public static final DBColumnKey TYPE_DOUBLE
public static final DBColumnKey TYPE_BOOLEAN
public static final DBColumnKey TYPE_BOOLSTR
public static final DBColumnKey TYPE_DATE
public static final DBColumnKey TYPE_TIME
public static final DBColumnKey TYPE_TS
public static final DBColumnKey TYPE_CLOB
public static final DBColumnKey TYPE_BLOB
public DBO_tnt_alltype()
public DBO_tnt_alltype(int primaryKey)
throws java.sql.SQLException,
RecordNotFoundException,
InvalidPrimaryKeyException
java.sql.SQLExceptionRecordNotFoundExceptionInvalidPrimaryKeyExceptionpublic DBO_tnt_alltype(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_alltype getMaster()
public java.lang.String get$Pk()
public int get$PkAsInt()
public java.lang.String get$TypeString()
public java.lang.String get$TypeVarchar()
public int get$TypeInt()
public long get$TypeLong()
public double get$TypeFloat()
public double get$TypeDouble()
public boolean get$TypeBoolean()
public java.lang.Boolean get$TypeBoolstr()
public java.sql.Date get$TypeDate()
public java.sql.Time get$TypeTime()
public java.sql.Timestamp get$TypeTs()
public java.sql.Clob get$TypeClob()
public java.sql.Blob get$TypeBlob()
public void set$Pk(java.lang.String value)
public void set$Pk(int value)
public void set$TypeString(java.lang.String value)
public void set$TypeVarchar(java.lang.String value)
public void set$TypeInt(int value)
public void set$TypeLong(long value)
public void set$TypeFloat(double value)
public void set$TypeDouble(double value)
public void set$TypeBoolean(boolean value)
public void set$TypeBoolstr(java.lang.Boolean value)
public void set$TypeDate(java.sql.Date value)
public void set$TypeTime(java.sql.Time value)
public void set$TypeTs(java.sql.Timestamp value)
public void set$TypeClob(java.sql.Clob value)
public void set$TypeBlob(java.sql.Blob 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_alltype clone()
public static DBO_tnt_alltype[] select() throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_alltype[] select(SqlCondition condition) throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_alltype[] select(SqlOrder order) throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_alltype[] 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.