|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.beans.JBean edu.jhu.tmaj.beans.ArrayBlockBean
public final class ArrayBlockBean
Represents an ArrayBlock, which is a block created from many donor-blocks.
Field Summary | |
---|---|
static DatabaseField |
CORE_SIZE_FIELD
|
static DatabaseField |
CREATE_DATE_FIELD
|
static DatabaseField |
CREATOR_FIELD
|
static DatabaseField |
FINAL_DATE_FIELD
|
static DatabaseField |
ID_FIELD
|
static DatabaseField |
INPUT_LOG_FIELD
|
static DatabaseField |
IS_FINAL_FIELD
|
static DatabaseField |
NAME_FIELD
|
static DatabaseField |
NUMBER_OF_COLUMNS_FIELD
|
static DatabaseField |
NUMBER_OF_ROWS_FIELD
|
static DatabaseField |
NUMBER_OF_SPOTS_FIELD
|
static DatabaseField |
PURPOSE_FIELD
|
static DatabaseField |
SOURCE_FIELD
|
static DatabaseField |
STATUS_FIELD
|
Fields inherited from class edu.jhu.tmaj.beans.JBean |
---|
staticMetaData |
Constructor Summary | |
---|---|
ArrayBlockBean()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares this Bean to another Bean by doing a case-insensitive compare using toString() |
DatabaseField[] |
getFieldsArray()
Returns an Array of TFields representing the columnnames of this bean. |
JBean |
getNewInstance()
Returns a new instance of this bean. |
int |
getNumberOfColumns()
Returns the number of columns for this ArrayBlock. |
int |
getNumberOfRows()
Returns the number of rows for this ArrayBlock. |
java.lang.String |
getSQL(Search search)
Returns a SELECT SQL statement given a Search. |
DatabaseTable |
getTable()
|
void |
insert()
Inserts the database row with the data in this Bean. |
boolean |
isFinal()
Returns true if ArrayBlock has been set as final and can no longer be modified in ArrayBuilder. |
java.lang.String |
toString()
Returns the primary key name of the bean's table, along with the bean's ID. |
void |
verify()
Overwritten by subclasses, this method may throw an exception before an insert() or update() is done if there is something wrong with the JBean. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DatabaseField ID_FIELD
public static final DatabaseField NAME_FIELD
public static final DatabaseField SOURCE_FIELD
public static final DatabaseField NUMBER_OF_ROWS_FIELD
public static final DatabaseField NUMBER_OF_COLUMNS_FIELD
public static final DatabaseField IS_FINAL_FIELD
public static final DatabaseField CREATOR_FIELD
public static final DatabaseField PURPOSE_FIELD
public static final DatabaseField CREATE_DATE_FIELD
public static final DatabaseField FINAL_DATE_FIELD
public static final DatabaseField STATUS_FIELD
public static final DatabaseField NUMBER_OF_SPOTS_FIELD
public static final DatabaseField CORE_SIZE_FIELD
public static final DatabaseField INPUT_LOG_FIELD
Constructor Detail |
---|
public ArrayBlockBean()
Method Detail |
---|
public DatabaseTable getTable()
getTable
in class JBean
public JBean getNewInstance()
JBean
getNewInstance
in class JBean
public DatabaseField[] getFieldsArray()
JBean
getFieldsArray
in class JBean
public boolean isFinal()
public int getNumberOfColumns()
public int getNumberOfRows()
public java.lang.String toString()
JBean
toString
in class JBean
public java.lang.String getSQL(Search search)
JBean
getSQL
in class JBean
public int compareTo(java.lang.Object o)
JBean
compareTo
in interface java.lang.Comparable
compareTo
in class JBean
public void insert() throws java.sql.SQLException
JBean
insert
in class JBean
java.sql.SQLException
public void verify()
JBean
verify
in class JBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |