public class DBO_tnt_persistent_type extends DBObject
| Modifier and Type | Field and Description |
|---|---|
static DBColumnKey |
COUNTRY |
static java.lang.String |
DBO_SUBCLASS_VERSION |
static DBColumnKey |
LANGUAGE |
static DBColumnKey |
SORT_MODE |
static DBColumnKey |
TYPE_ID |
BOOLEAN_CHAR, DBO_PREFIX, FALSE_STR, TRUE_STR| Constructor and Description |
|---|
DBO_tnt_persistent_type() |
DBO_tnt_persistent_type(int primaryKey) |
DBO_tnt_persistent_type(java.lang.String... primaryKeys) |
| Modifier and Type | Method and Description |
|---|---|
static DBColumnKey[] |
attributeColumns() |
DBO_tnt_persistent_type |
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() |
Country |
get$Country() |
Language |
get$Language() |
SortMode |
get$SortMode() |
java.lang.String |
get$TypeId()
Returns the Primary key value
|
int |
get$TypeIdAsInt()
Returns the primary key value as int
|
DBColumnKey[] |
getAttributeColumns()
Returns the attribute column definitions from the concrete subclass
|
static DBO_tnt_persistent_type |
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_persistent_type[] |
select() |
static DBO_tnt_persistent_type[] |
select(SqlCondition condition) |
static DBO_tnt_persistent_type[] |
select(SqlCondition condition,
SqlOrder order) |
static DBO_tnt_persistent_type[] |
select(SqlOrder order) |
void |
set$Country(Country value) |
void |
set$Language(Language value) |
void |
set$SortMode(SortMode value) |
void |
set$TypeId(int value)
Sets the primary key value as int
|
void |
set$TypeId(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 TYPE_ID
public static final DBColumnKey SORT_MODE
public static final DBColumnKey LANGUAGE
public static final DBColumnKey COUNTRY
public DBO_tnt_persistent_type()
public DBO_tnt_persistent_type(int primaryKey)
throws java.sql.SQLException,
RecordNotFoundException,
InvalidPrimaryKeyException
java.sql.SQLExceptionRecordNotFoundExceptionInvalidPrimaryKeyExceptionpublic DBO_tnt_persistent_type(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_persistent_type getMaster()
public java.lang.String get$TypeId()
public int get$TypeIdAsInt()
public SortMode get$SortMode()
public Language get$Language()
public Country get$Country()
public void set$TypeId(java.lang.String value)
public void set$TypeId(int value)
public void set$SortMode(SortMode value)
public void set$Language(Language value)
public void set$Country(Country 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_persistent_type clone()
public static DBO_tnt_persistent_type[] select() throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_persistent_type[] select(SqlCondition condition) throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_persistent_type[] select(SqlOrder order) throws java.sql.SQLException
java.sql.SQLExceptionpublic static DBO_tnt_persistent_type[] 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.