|
|||||||||
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.ProjectBean
public final class ProjectBean
Represents the Projects Table. A Project is a collection of ArraySlides. Projects are assigned ArraySlides in the table ProjectsArraySlides. In addition Projects are assigned users in the table UsersProjects. The goal is to determine what users can access which ArraySlides.
Field Summary | |
---|---|
static DatabaseField |
ARE_TISSUE_TYPES_RESTRICTED_FIELD
|
static DatabaseField |
DESCRIPTION_FIELD
|
static DatabaseField |
ID_FIELD
|
static DatabaseField |
INPUTLOG_FIELD
|
static DatabaseField |
IS_LOOKUP_DISABLED_FIELD
|
static DatabaseField |
PROJECT_NAME_FIELD
|
static DatabaseField |
SOURCE_FIELD
|
Fields inherited from class edu.jhu.tmaj.beans.JBean |
---|
staticMetaData |
Constructor Summary | |
---|---|
ProjectBean()
|
Method Summary | |
---|---|
boolean |
areTissueTypesRestricted()
Returns true if users may only use TissueTypes for ScoredImages that were used on the original diagnosis. |
DatabaseField[] |
getFieldsArray()
Returns an Array of TFields representing the columnnames of this bean. |
JBean |
getNewInstance()
Returns a new instance of this bean. |
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 |
isLookupDisabled()
Returns true if the user should not be able to lookup the original diagnosis of the image in the Images application. |
java.lang.String |
toString()
Returns the primary key name of the bean's table, along with the bean's ID. |
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 PROJECT_NAME_FIELD
public static final DatabaseField DESCRIPTION_FIELD
public static final DatabaseField SOURCE_FIELD
public static final DatabaseField IS_LOOKUP_DISABLED_FIELD
public static final DatabaseField ARE_TISSUE_TYPES_RESTRICTED_FIELD
public static final DatabaseField INPUTLOG_FIELD
Constructor Detail |
---|
public ProjectBean()
Method Detail |
---|
public java.lang.String toString()
JBean
toString
in class JBean
public JBean getNewInstance()
JBean
getNewInstance
in class JBean
public DatabaseTable getTable()
getTable
in class JBean
public boolean isLookupDisabled()
public boolean areTissueTypesRestricted()
public DatabaseField[] getFieldsArray()
JBean
getFieldsArray
in class JBean
public java.lang.String getSQL(Search search)
JBean
getSQL
in class JBean
public void insert() throws java.sql.SQLException
JBean
insert
in class JBean
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |