edu.jhu.tmaj.beans
Class MachineSessionBean

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

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

See Also:
Serialized Form

Field Summary
static DatabaseField CREATION_DATE_FIELD
           
static DatabaseField ID_FIELD
           
static DatabaseField IMPORTED_BY_USER_ID_FIELD
           
static DatabaseField SCAN_ID_FIELD
           
static DatabaseField SHORT_DESCRIPTION_FIELD
           
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
MachineSessionBean(StaticMetaData staticMetaData)
           
 
Method Summary
 void delete()
          Deletes this Bean from the database.
 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, 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

ID_FIELD

public static final DatabaseField ID_FIELD

SCAN_ID_FIELD

public static final DatabaseField SCAN_ID_FIELD

SHORT_DESCRIPTION_FIELD

public static final DatabaseField SHORT_DESCRIPTION_FIELD

IMPORTED_BY_USER_ID_FIELD

public static final DatabaseField IMPORTED_BY_USER_ID_FIELD

CREATION_DATE_FIELD

public static final DatabaseField CREATION_DATE_FIELD
Constructor Detail

MachineSessionBean

public MachineSessionBean(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

delete

public void delete()
            throws java.sql.SQLException
Description copied from class: JBean
Deletes this Bean from the database.

Overrides:
delete in class JBean
Throws:
java.sql.SQLException