Package org.apache.empire.db.generic
Class TRecord<CTX extends DBContext,T extends DBRowSet>
java.lang.Object
org.apache.empire.db.DBObject
org.apache.empire.db.DBRecordData
org.apache.empire.db.DBRecordBase
org.apache.empire.db.DBRecord
org.apache.empire.db.generic.TRecord<CTX,T>
- All Implemented Interfaces:
Serializable,Cloneable,Record,RecordData,DBContextAware
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.empire.db.DBRecordBase
DBRecordBase.DBRecordRollbackHandler, DBRecordBase.State -
Field Summary
FieldsFields inherited from class org.apache.empire.db.DBRecordBase
allowReadOnlyUpdate, validateFieldValues -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinally we know the Context classfinally we know the RowSet classMethods inherited from class org.apache.empire.db.DBRecord
create, create, delete, getIdentity, isRollbackHandlingEnabled, key, read, read, read, read, readContext, readRowSet, set, setRollbackHandlingEnabled, update, writeContext, writeRowSetMethods inherited from class org.apache.empire.db.DBRecordBase
addXmlData, addXmlMeta, allowFieldChange, assignParentIdentities, changeState, checkUpdateable, checkValid, checkValid, clone, close, createRollbackHandler, getColumn, getDatabase, getEntity, getFieldCount, getFieldIndex, getFieldIndex, getFieldOptions, getFieldOptions, getFields, getKey, getKeyColumns, getState, getValue, getXmlDictionary, getXmlDocument, initData, initData, isColumn, isExists, isFieldReadOnly, isFieldRequired, isFieldVisible, isModified, isNew, isReadOnly, isSame, isValid, isValidateFieldValues, isValueValid, modifyValue, onFieldChanged, onRecordChanged, setFieldModified, setParentRecord, setRecordValue, setRecordValues, setRecordValues, setValidateFieldValues, setValue, setValue, updateComplete, validateAllValues, validateValue, wasAnyModified, wasModified, wasModifiedMethods inherited from class org.apache.empire.db.DBRecordData
formatValue, get, get, getArray, getBoolean, getBoolean, getDate, getDate, getDateTime, getDateTime, getDecimal, getDecimal, getDouble, getDouble, getEnum, getEnum, getEnum, getInt, getInt, getLocalDate, getLocalDate, getLocalDateTime, getLocalDateTime, getLong, getLong, getString, getString, getText, getText, getTimestamp, getTimestamp, getValue, isNull, isNull, isZero, setBeanProperties, setBeanProperties, setBeanPropertyMethods inherited from class org.apache.empire.db.DBObject
checkParamNullMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.empire.data.RecordData
get, get, getValue, isNull, isNull, setBeanProperties
-
Field Details
-
T
-
CTX
-
-
Constructor Details
-
TRecord
Internal constructor for TRecord May be used by derived classes to provide special behaviour- Parameters:
context- the DBContext for this recordrowset- the corresponding RowSet(Table, View, Query, etc.)enableRollbackHandling- flag whether to enable rollback handling
-
TRecord
Constructs a new TRecord.- Parameters:
context- the DBContext for this recordrowset- the corresponding RowSet(Table, View, Query, etc.)
-
-
Method Details
-
getContext
finally we know the Context class- Specified by:
getContextin interfaceDBContextAware- Overrides:
getContextin classDBRecord- Returns:
- the database context
-
getRowSet
finally we know the RowSet class
-