public class DBO_tnt_pktype extends DBObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DBO_SUBCLASS_VERSION |
static DBColumnKey |
PK_BOOLEAN |
static DBColumnKey |
PK_BOOLSTR |
static DBColumnKey |
PK_CHAR |
static DBColumnKey |
PK_DATE |
static DBColumnKey |
PK_DOUBLE |
static DBColumnKey |
PK_FLOAT |
static DBColumnKey |
PK_INT |
static DBColumnKey |
PK_LONG |
static DBColumnKey |
PK_TIME |
static DBColumnKey |
PK_TS |
static DBColumnKey |
PK_VARCHAR |
static DBColumnKey |
VAL_BOOLEAN |
static DBColumnKey |
VAL_BOOLSTR |
static DBColumnKey |
VAL_CHAR |
static DBColumnKey |
VAL_DATE |
static DBColumnKey |
VAL_DEC |
static DBColumnKey |
VAL_FLOAT |
static DBColumnKey |
VAL_INT |
static DBColumnKey |
VAL_LONG |
static DBColumnKey |
VAL_TIME |
static DBColumnKey |
VAL_TS |
static DBColumnKey |
VAL_VARCHAR |
BOOLEAN_CHAR, DBO_PREFIX, FALSE_STR, TRUE_STR
Constructor and Description |
---|
DBO_tnt_pktype() |
DBO_tnt_pktype(java.lang.String... primaryKeys) |
Modifier and Type | Method and Description |
---|---|
static DBColumnKey[] |
attributeColumns() |
DBO_tnt_pktype |
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$PkBoolean()
Returns the Primary key value
|
java.lang.String |
get$PkBoolstr()
Returns the Primary key value
|
java.lang.String |
get$PkChar()
Returns the Primary key value
|
java.lang.String |
get$PkDate()
Returns the Primary key value
|
java.lang.String |
get$PkDouble()
Returns the Primary key value
|
java.lang.String |
get$PkFloat()
Returns the Primary key value
|
java.lang.String |
get$PkInt()
Returns the Primary key value
|
int |
get$PkIntAsInt()
Returns the primary key value as int
|
java.lang.String |
get$PkLong()
Returns the Primary key value
|
java.lang.String |
get$PkTime()
Returns the Primary key value
|
java.lang.String |
get$PkTs()
Returns the Primary key value
|
java.lang.String |
get$PkVarchar()
Returns the Primary key value
|
boolean |
get$ValBoolean() |
java.lang.Boolean |
get$ValBoolstr() |
java.lang.String |
get$ValChar() |
java.sql.Date |
get$ValDate() |
double |
get$ValDec() |
double |
get$ValFloat() |
int |
get$ValInt() |
long |
get$ValLong() |
java.sql.Time |
get$ValTime() |
java.sql.Timestamp |
get$ValTs() |
java.lang.String |
get$ValVarchar() |
DBColumnKey[] |
getAttributeColumns()
Returns the attribute column definitions from the concrete subclass
|
static DBO_tnt_pktype |
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_pktype[] |
select() |
static DBO_tnt_pktype[] |
select(SqlCondition condition) |
static DBO_tnt_pktype[] |
select(SqlCondition condition,
SqlOrder order) |
static DBO_tnt_pktype[] |
select(SqlOrder order) |
void |
set$PkBoolean(java.lang.String value)
Sets the Primary key value
|
void |
set$PkBoolstr(java.lang.String value)
Sets the Primary key value
|
void |
set$PkChar(java.lang.String value)
Sets the Primary key value
|
void |
set$PkDate(java.lang.String value)
Sets the Primary key value
|
void |
set$PkDouble(java.lang.String value)
Sets the Primary key value
|
void |
set$PkFloat(java.lang.String value)
Sets the Primary key value
|
void |
set$PkInt(int value)
Sets the primary key value as int
|
void |
set$PkInt(java.lang.String value)
Sets the Primary key value
|
void |
set$PkLong(java.lang.String value)
Sets the Primary key value
|
void |
set$PkTime(java.lang.String value)
Sets the Primary key value
|
void |
set$PkTs(java.lang.String value)
Sets the Primary key value
|
void |
set$PkVarchar(java.lang.String value)
Sets the Primary key value
|
void |
set$ValBoolean(boolean value) |
void |
set$ValBoolstr(java.lang.Boolean value) |
void |
set$ValChar(java.lang.String value) |
void |
set$ValDate(java.sql.Date value) |
void |
set$ValDec(double value) |
void |
set$ValFloat(double value) |
void |
set$ValInt(int value) |
void |
set$ValLong(long value) |
void |
set$ValTime(java.sql.Time value) |
void |
set$ValTs(java.sql.Timestamp value) |
void |
set$ValVarchar(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 PK_INT
public static final DBColumnKey PK_LONG
public static final DBColumnKey PK_FLOAT
public static final DBColumnKey PK_DOUBLE
public static final DBColumnKey PK_CHAR
public static final DBColumnKey PK_VARCHAR
public static final DBColumnKey PK_DATE
public static final DBColumnKey PK_TIME
public static final DBColumnKey PK_TS
public static final DBColumnKey PK_BOOLSTR
public static final DBColumnKey PK_BOOLEAN
public static final DBColumnKey VAL_INT
public static final DBColumnKey VAL_LONG
public static final DBColumnKey VAL_FLOAT
public static final DBColumnKey VAL_DEC
public static final DBColumnKey VAL_CHAR
public static final DBColumnKey VAL_VARCHAR
public static final DBColumnKey VAL_DATE
public static final DBColumnKey VAL_TIME
public static final DBColumnKey VAL_TS
public static final DBColumnKey VAL_BOOLSTR
public static final DBColumnKey VAL_BOOLEAN
public DBO_tnt_pktype()
public DBO_tnt_pktype(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_tnt_pktype getMaster()
public java.lang.String get$PkInt()
public int get$PkIntAsInt()
public java.lang.String get$PkLong()
public java.lang.String get$PkFloat()
public java.lang.String get$PkDouble()
public java.lang.String get$PkChar()
public java.lang.String get$PkVarchar()
public java.lang.String get$PkDate()
public java.lang.String get$PkTime()
public java.lang.String get$PkTs()
public java.lang.String get$PkBoolstr()
public java.lang.String get$PkBoolean()
public int get$ValInt()
public long get$ValLong()
public double get$ValFloat()
public double get$ValDec()
public java.lang.String get$ValChar()
public java.lang.String get$ValVarchar()
public java.sql.Date get$ValDate()
public java.sql.Time get$ValTime()
public java.sql.Timestamp get$ValTs()
public java.lang.Boolean get$ValBoolstr()
public boolean get$ValBoolean()
public void set$PkInt(java.lang.String value)
public void set$PkInt(int value)
public void set$PkLong(java.lang.String value)
public void set$PkFloat(java.lang.String value)
public void set$PkDouble(java.lang.String value)
public void set$PkChar(java.lang.String value)
public void set$PkVarchar(java.lang.String value)
public void set$PkDate(java.lang.String value)
public void set$PkTime(java.lang.String value)
public void set$PkTs(java.lang.String value)
public void set$PkBoolstr(java.lang.String value)
public void set$PkBoolean(java.lang.String value)
public void set$ValInt(int value)
public void set$ValLong(long value)
public void set$ValFloat(double value)
public void set$ValDec(double value)
public void set$ValChar(java.lang.String value)
public void set$ValVarchar(java.lang.String value)
public void set$ValDate(java.sql.Date value)
public void set$ValTime(java.sql.Time value)
public void set$ValTs(java.sql.Timestamp value)
public void set$ValBoolstr(java.lang.Boolean value)
public void set$ValBoolean(boolean 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_tnt_pktype clone()
public static DBO_tnt_pktype[] select() throws java.sql.SQLException
java.sql.SQLException
public static DBO_tnt_pktype[] select(SqlCondition condition) throws java.sql.SQLException
java.sql.SQLException
public static DBO_tnt_pktype[] select(SqlOrder order) throws java.sql.SQLException
java.sql.SQLException
public static DBO_tnt_pktype[] 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.