ch.elexis.stickynotes.data
Class StickyNote
java.lang.Object
ch.elexis.data.PersistentObject
ch.elexis.stickynotes.data.StickyNote
- All Implemented Interfaces:
- IPersistentObject, ISelectable
public class StickyNote
- extends PersistentObject
Field Summary |
static java.lang.String |
VERSION
|
Fields inherited from class ch.elexis.data.PersistentObject |
CACHE_DEFAULT_LIFETIME, CACHE_MIN_LIFETIME, CFG_CONNECTSTRING, CFG_DRIVER, CFG_FOLDED_CONNECTION, CFG_PWD, CFG_TYPE, CFG_USER, DATE_COMPOUND, default_lifetime, DELETED, EXISTS, FLD_DATE, FLD_DELETED, FLD_EXTINFO, FLD_LASTUPDATE, INEXISTENT, INVALID_ID, log, MAPPING_ERROR_MARKER, MATCH_AUTO, MATCH_CONTAINS, MATCH_EXACT, MATCH_REGEXP, MATCH_START |
Methods inherited from class ch.elexis.data.PersistentObject |
addChangeListener, addMapping, addSticker, addToList, addXid, begin, checkNull, checkZero, checkZeroDouble, clearCache, connect, connect, create, createOrModifyTable, delete, deleteList, disconnect, equals, executeScript, executeSQLScript, exists, exportData, flatten, fold, get, get, getBinary, getCacheTime, getConnection, getConstraint, getDefaultCacheLifetime, getExportFields, getExportUIDValue, getExportUIDVersion, getFieldType, getId, getInt, getLastUpdate, getList, getList, getMap, getSticker, getStickers, getVersionedResource, getWrappedId, getXid, getXid, getXids, hashCode, isAvailable, isDeleted, isDragOK, isMatching, isMatching, isMatching, isMatching, isValid, lock, map, removeChangeListener, removeFromList, removeFromList, removeSticker, removeTable, resetCache, set, set, setBinary, setConstraint, setDefaultCacheLifetime, setInt, setMap, setTrace, setVersionedResource, state, storeToString, tableExists, ts, undelete, unlock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
StickyNote
public StickyNote(Patient p)
StickyNote
protected StickyNote()
StickyNote
protected StickyNote(java.lang.String id)
getPatient
public Patient getPatient()
setText
public void setText(java.lang.String t)
getText
public java.lang.String getText()
getLabel
public java.lang.String getLabel()
- Description copied from class:
PersistentObject
- Einen menschenlesbaren Identifikationsstring für dieses Objet liefern
- Specified by:
getLabel
in interface IPersistentObject
- Specified by:
getLabel
in class PersistentObject
getTableName
protected java.lang.String getTableName()
- Description copied from class:
PersistentObject
- Jede abgeleitete Klasse muss deklarieren, in welcher Tabelle sie gespeichert werden will.
- Specified by:
getTableName
in class PersistentObject
- Returns:
- Der Name einer bereits existierenden Tabelle der Datenbank
load
public static StickyNote load(Patient p)
load
public static StickyNote load(java.lang.String id)