Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.elexis.images
Class Bild

java.lang.Object
  extended by ch.elexis.data.PersistentObject
      extended by ch.elexis.images.Bild
All Implemented Interfaces:
IPersistentObject, ISelectable

public class Bild
extends PersistentObject


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.elexis.data.PersistentObject
PersistentObject.FieldType
 
Field Summary
static java.lang.String createDB
           
static java.lang.String DBVERSION
           
static java.lang.String TABLENAME
           
 
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
 
Fields inherited from interface ch.elexis.core.data.IPersistentObject
FLD_ID, STATE_EXISTING, STATE_INEXISTENT, STATE_INVALID_ID
 
Constructor Summary
protected Bild()
           
  Bild(Patient patient, java.lang.String Titel, byte[] data)
           
protected Bild(java.lang.String id)
           
 
Method Summary
 org.eclipse.swt.graphics.Image createImage()
          Image des Bildes erzeugen.
 byte[] getData()
           
 java.lang.String getDate()
           
 java.lang.String getInfo()
           
 java.lang.String getLabel()
          Einen menschenlesbaren Identifikationsstring für dieses Objet liefern
 Patient getPatient()
           
protected  java.lang.String getTableName()
          Jede abgeleitete Klasse muss deklarieren, in welcher Tabelle sie gespeichert werden will.
 java.lang.String getTitle()
           
static void init()
          Tabelle neu erstellen
static Bild load(java.lang.String ID)
           
 
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
 

Field Detail

DBVERSION

public static final java.lang.String DBVERSION
See Also:
Constant Field Values

TABLENAME

public static final java.lang.String TABLENAME
See Also:
Constant Field Values

createDB

public static final java.lang.String createDB
See Also:
Constant Field Values
Constructor Detail

Bild

public Bild(Patient patient,
            java.lang.String Titel,
            byte[] data)

Bild

protected Bild(java.lang.String id)

Bild

protected Bild()
Method Detail

init

public static void init()
Tabelle neu erstellen


getPatient

public Patient getPatient()

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

getDate

public java.lang.String getDate()

getTitle

public java.lang.String getTitle()

getInfo

public java.lang.String getInfo()

createImage

public org.eclipse.swt.graphics.Image createImage()
Image des Bildes erzeugen. Achtung: dieses muss nach Gebrauch mit dispose() wieder entsorgt werden.

Returns:
ein SWT-Image

load

public static Bild load(java.lang.String ID)

getData

public byte[] getData()

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

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013