uk.ac.kcl.cch.jb.pliny.model
Class Note
java.lang.Object
uk.ac.kcl.cch.rdb2java.dynData.PropertyChangeObject
uk.ac.kcl.cch.rdb2java.dynData.BaseObject
uk.ac.kcl.cch.jb.pliny.model.Resource
uk.ac.kcl.cch.jb.pliny.model.Note
- All Implemented Interfaces:
- IAuthorityListItem, ILoadableFromResultSet, INamedObject, IPropertyChangeObject
- Direct Known Subclasses:
- NoteLucened
- public class Note
- extends Resource
- implements IAuthorityListItem, ILoadableFromResultSet
Fields inherited from class uk.ac.kcl.cch.jb.pliny.model.Resource |
ATTRIBUTES_PROP, FAVOURITES_PROP, FULLNAME_PROP, IDENTIFIER_PROP, IDSTART_PROP, INITCHAR_PROP, MYDISPLAYEDITEMS_PROP, MYSOURCEROLES_PROP, MYSURROGATES_PROP, MYTARGETROLES_PROP, NAME_PROP, OBJECTTYPEKEY_PROP, resourceKey |
Constructor Summary |
Note()
|
Note(boolean realEmpty)
|
Methods inherited from class uk.ac.kcl.cch.jb.pliny.model.Resource |
assignMyReferencesTo, assignMyReferencesTo, closeMyEditor, EditorInput2idString, find, find, getAttributes, getCurrentPage, getFavourites, getFullName, getIdStart, getInitChar, getInitChar, getItem, getMyDisplayedItems, getMyPagedDisplayedItems, getMySourceRoles, getMySurrogates, getMyTargetRoles, getName, getObjectType, getObjectTypeKey, getResourceKey, getUrl, idString2EditorInput, isDeletable, isFavourite, openEditor, setAttributes, setCurrentPage, setFullName, setIdentifier, setIdentifiers, setIdentifiers, setIdStart, setInitChar, setName, setObjectType, signalChangeFavourites, signalChangeMyDisplayedItems, signalChangeMySourceRoles, signalChangeMySurrogates, signalChangeMyTargetRoles, updateDBName |
Methods inherited from class uk.ac.kcl.cch.rdb2java.dynData.BaseObject |
doSQL, getSavedID, makeWhere, updateDBboolean, updateDBboolean, updateDBint, updateDBint, updateDBString, updateDBString, updateDBTimestamp, updateDBTimestamp |
myCache
protected static NoteQuery myCache
CONTENT_PROP
public static final String CONTENT_PROP
- See Also:
- Constant Field Values
TSTAMP_PROP
public static final String TSTAMP_PROP
- See Also:
- Constant Field Values
NOTE_EDITOR_ID
public static final String NOTE_EDITOR_ID
- See Also:
- Constant Field Values
Note
public Note(boolean realEmpty)
Note
public Note()
setEmpty
protected void setEmpty()
- Overrides:
setEmpty
in class Resource
getSelectEntities
public static String getSelectEntities()
getTableJoins
public static String getTableJoins()
getSQLFrom
public static String getSQLFrom()
getKeyName
protected String getKeyName()
- Overrides:
getKeyName
in class Resource
getTableName
protected String getTableName()
- Overrides:
getTableName
in class Resource
getMyConnection
protected Connection getMyConnection()
- Overrides:
getMyConnection
in class Resource
returnMyConnection
protected void returnMyConnection(Connection con)
- Overrides:
returnMyConnection
in class Resource
loadFromResultSet
public int loadFromResultSet(ResultSet rs)
throws SQLException
- Specified by:
loadFromResultSet
in interface ILoadableFromResultSet
- Overrides:
loadFromResultSet
in class Resource
- Throws:
SQLException
getNoteItem
public static Note getNoteItem(int key)
getContent
public String getContent()
getTStamp
public Timestamp getTStamp()
setContent
public void setContent(String parm)
setTStamp
public void setTStamp(Timestamp parm)
doInsert
protected void doInsert()
- Overrides:
doInsert
in class Resource
deleteMe
public void deleteMe()
- Overrides:
deleteMe
in class Resource
reIntroduceMe
public void reIntroduceMe()
- Overrides:
reIntroduceMe
in class Resource
openEditor
public void openEditor(org.eclipse.ui.IWorkbenchPage page)
throws org.eclipse.ui.PartInitException
- Overrides:
openEditor
in class Resource
- Throws:
org.eclipse.ui.PartInitException
getNoteObjectType
public static ObjectType getNoteObjectType()
getIdentifier
public String getIdentifier()
- Overrides:
getIdentifier
in class Resource
getSashPosition
public int getSashPosition()
setSashPosition
public void setSashPosition(int val)
toString
public String toString()
- Overrides:
toString
in class Resource
getALItem
public String getALItem()
- Specified by:
getALItem
in interface IAuthorityListItem
- Overrides:
getALItem
in class Resource
getALID
public int getALID()
- Specified by:
getALID
in interface IAuthorityListItem
- Overrides:
getALID
in class Resource