org.apache.empire.struts2.websample.db.records
Class EmployeeRecord

java.lang.Object
  extended by org.apache.empire.commons.ErrorObject
      extended by org.apache.empire.db.DBObject
          extended by org.apache.empire.db.DBRecordData
              extended by org.apache.empire.db.DBRecord
                  extended by org.apache.empire.struts2.websample.db.SampleRecord
                      extended by org.apache.empire.struts2.websample.db.records.EmployeeRecord
All Implemented Interfaces:
java.lang.Cloneable, ErrorInfo, Record, RecordData

public class EmployeeRecord
extends SampleRecord


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.empire.commons.ErrorObject
ErrorObject.ObjectErrorInfo
 
Field Summary
static SampleDB.Employees T
           
 
Fields inherited from class org.apache.empire.struts2.websample.db.SampleRecord
context
 
Fields inherited from class org.apache.empire.db.DBRecord
log, REC_EMTPY, REC_INVALID, REC_MODIFIED, REC_NEW, REC_VALID
 
Constructor Summary
EmployeeRecord(SampleContext context)
           
 
Method Summary
 DepartmentRecord getDepartmentRecord()
           
 Options getFieldOptions(DBColumn column)
          Gets the possbile Options for a field in the context of the current record.
 
Methods inherited from class org.apache.empire.db.DBRecord
addColumnDesc, addRowValues, changeState, clone, close, create, create, delete, fillMissingDefaults, getColumn, getColumnExpr, getDatabase, getDBColumn, getFieldCount, getFieldIndex, getFieldIndex, getFieldOptions, getFields, getKeyColumns, getKeyValues, getRowSet, getRowSetData, getState, getValue, getXmlDictionary, getXmlDocument, init, init, initNew, initNew, isFieldReadOnly, isFieldReadOnly, isFieldVisible, isFieldVisible, isModified, isNew, isValid, isValueValid, modifyValue, onFieldChanged, onRecordChanged, onRowSetChanged, read, read, setBeanValue, setBeanValues, setBeanValues, setModified, setValue, setValue, update, wasModified, wasModified
 
Methods inherited from class org.apache.empire.db.DBRecordData
getBeanProperties, getBeanProperties, getBeanProperty, getBoolean, getBoolean, getDateTime, getDateTime, getDouble, getDouble, getInt, getInt, getLong, getLong, getString, getString, getValue, isNull, isNull
 
Methods inherited from class org.apache.empire.db.DBObject
error, error
 
Methods inherited from class org.apache.empire.commons.ErrorObject
clearError, clearErrorInfo, error, error, error, error, error, error, error, getErrorInfo, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, internalSetError, isExceptionsEnabled, setExceptionsEnabled, success
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.empire.data.RecordData
getBeanProperties, getBeanProperties, getValue, isNull, isNull
 

Field Detail

T

public static final SampleDB.Employees T
Constructor Detail

EmployeeRecord

public EmployeeRecord(SampleContext context)
Method Detail

getDepartmentRecord

public DepartmentRecord getDepartmentRecord()

getFieldOptions

public Options getFieldOptions(DBColumn column)
Description copied from class: DBRecord
Gets the possbile Options for a field in the context of the current record.

Overrides:
getFieldOptions in class DBRecord
Parameters:
column - the database field column
Returns:
the field options


Copyright © 2008-2009 Apache Software Foundation. All Rights Reserved.