edu.jhu.tmaj.beans
Class PaperBean

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

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

Represents a Published Paper. A paper is a collection of published sessions. Papers give TMAJ a way of organizing published sessions.

See Also:
Serialized Form

Field Summary
static DatabaseField ABSTRACT_FIELD
           
static DatabaseField AUTHORS_FIELD
           
static DatabaseField ID_FIELD
           
static DatabaseField INPUTLOG_FIELD
           
static DatabaseField JNLP_LINK_FIELD
           
static DatabaseField JOURNAL_REFERENCE_FIELD
           
static DatabaseField NOTES_FIELD
           
static DatabaseField PDF_LINK_FIELD
           
static DatabaseField PUB_MED_LINK_FIELD
           
static DatabaseField SECONDARY_USER_ID_FIELD
           
static DatabaseField SHORT_TITLE_FIELD
           
static DatabaseField TITLE_FIELD
           
static DatabaseField USER_ID_FIELD
           
 
Fields inherited from class edu.jhu.tmaj.beans.JBean
staticMetaData
 
Constructor Summary
PaperBean(StaticMetaData staticMetaData)
           
 
Method Summary
 java.lang.String getAbstract()
           
 java.lang.String getAuthors()
           
 DatabaseField[] getFieldsArray()
          Returns an Array of TFields representing the columnnames of this bean.
 java.lang.String getJNLPLink()
          Returns an http address of a jnlp file that launches TMAJ so that only this paper can be viewed.
 java.lang.String getJournalReference()
           
 JBean getNewInstance()
          Returns a new instance of this bean.
 java.lang.String getPDFLink()
          Returns the URL of the PDF file for the published paper.
 java.lang.String getPubMedLink()
           
 java.lang.String getShortTitle()
          Returns the name (or title) of the paper
 DatabaseTable getTable()
           
 java.lang.String getTitle()
           
 java.lang.String toString()
          Returns the primary key name of the bean's table, along with the bean's ID.
 
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, 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

USER_ID_FIELD

public static final DatabaseField USER_ID_FIELD

SHORT_TITLE_FIELD

public static final DatabaseField SHORT_TITLE_FIELD

TITLE_FIELD

public static final DatabaseField TITLE_FIELD

AUTHORS_FIELD

public static final DatabaseField AUTHORS_FIELD

JOURNAL_REFERENCE_FIELD

public static final DatabaseField JOURNAL_REFERENCE_FIELD

PDF_LINK_FIELD

public static final DatabaseField PDF_LINK_FIELD

PUB_MED_LINK_FIELD

public static final DatabaseField PUB_MED_LINK_FIELD

JNLP_LINK_FIELD

public static final DatabaseField JNLP_LINK_FIELD

ABSTRACT_FIELD

public static final DatabaseField ABSTRACT_FIELD

SECONDARY_USER_ID_FIELD

public static final DatabaseField SECONDARY_USER_ID_FIELD

NOTES_FIELD

public static final DatabaseField NOTES_FIELD

INPUTLOG_FIELD

public static final DatabaseField INPUTLOG_FIELD
Constructor Detail

PaperBean

public PaperBean(StaticMetaData staticMetaData)
Method Detail

getTable

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

getPDFLink

public java.lang.String getPDFLink()
Returns the URL of the PDF file for the published paper.


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

getShortTitle

public java.lang.String getShortTitle()
Returns the name (or title) of the paper


getTitle

public java.lang.String getTitle()

getJournalReference

public java.lang.String getJournalReference()

getAuthors

public java.lang.String getAuthors()

getAbstract

public java.lang.String getAbstract()

getPubMedLink

public java.lang.String getPubMedLink()

getJNLPLink

public java.lang.String getJNLPLink()
Returns an http address of a jnlp file that launches TMAJ so that only this paper can be viewed. Ideally, the JNLP file would be dynamically generated, but this is too complicated for now, and the feature still isn't used widely enough to justify the effort yet.


toString

public java.lang.String toString()
Description copied from class: JBean
Returns the primary key name of the bean's table, along with the bean's ID. Example: ProjectID#5

Overrides:
toString in class JBean