edu.jhu.tmaj.beans
Class PatientBean

java.lang.Object
  extended by edu.jhu.tmaj.beans.JBean
      extended by edu.jhu.tmaj.beans.PatientBean
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class PatientBean
extends JBean
implements java.io.Serializable

Represents a record from the Patients Table.

See Also:
Serialized Form

Field Summary
static DatabaseField BIRTH_DATE_FIELD
           
static DatabaseField HOSPITAL_ID_FIELD
           
static DatabaseField ID_FIELD
           
static DatabaseField INPUT_LOG_FIELD
           
static DatabaseField NAME_FIRST_FIELD
           
static DatabaseField NAME_LAST_FIELD
           
static DatabaseField NOTES_FIELD
           
static DatabaseField PATIENT_NUMBER_FIELD
           
static java.lang.String PATIENT_NUMBER_STRING
           
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
PatientBean(StaticMetaData staticMetaData)
           
 
Method Summary
 DatabaseField[] getFieldsArray()
          Returns an Array of TFields representing the columnnames of this bean.
 JBean getNewInstance()
          Returns a new instance of this bean.
 DatabaseTable getTable()
           
 
Methods inherited from class edu.jhu.tmaj.beans.JBean
compareTo, createFromResultSet, createFromSwingMap, delete, equals, getAllStaticColumnIdentifiers, getBaseSQL, getBeanInDatabase, getBeanList, getBeanList, getBooleanField, getClassForType, getColumnIdentifiers, getColumnNamesSet, getDateField, getDefaultBeanObjectForType, getDefaultSwingObjectForType, getDoubleField, getEnumerations, getFieldValue, getID_Bean_Map, getID, getIntegerField, getNonNullString, getPrimaryKeyField, getPrimaryKeyName, getSelectResponse, getSQL, getStaticMetaData, getStringField, getSwingHash, getSwingToBeanObject, getTableName, getUserBean, getWantedColumnsString, getWantedStaticColumnIdentifiers, getWhereClause, hashCode, insert, isEnumerated, setBooleanField, setDateField, setDoubleField, setID, setIntegerField, setStringField, setUserBean, toString, update, verify
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PATIENT_NUMBER_STRING

public static final java.lang.String PATIENT_NUMBER_STRING
See Also:
Constant Field Values

ID_FIELD

public static final DatabaseField ID_FIELD

HOSPITAL_ID_FIELD

public static final DatabaseField HOSPITAL_ID_FIELD

PATIENT_NUMBER_FIELD

public static final DatabaseField PATIENT_NUMBER_FIELD

NAME_FIRST_FIELD

public static final DatabaseField NAME_FIRST_FIELD

NAME_LAST_FIELD

public static final DatabaseField NAME_LAST_FIELD

BIRTH_DATE_FIELD

public static final DatabaseField BIRTH_DATE_FIELD

NOTES_FIELD

public static final DatabaseField NOTES_FIELD

INPUT_LOG_FIELD

public static final DatabaseField INPUT_LOG_FIELD
Constructor Detail

PatientBean

public PatientBean(StaticMetaData staticMetaData)
Method Detail

getTable

public DatabaseTable getTable()
Specified by:
getTable in class JBean

getNewInstance

public JBean getNewInstance()
Description copied from class: JBean
Returns a new instance of this bean.

Specified by:
getNewInstance in class JBean

getFieldsArray

public DatabaseField[] getFieldsArray()
Description copied from class: JBean
Returns an Array of TFields representing the columnnames of this bean.

Specified by:
getFieldsArray in class JBean