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.icpc
Class IcpcCode

java.lang.Object
  extended by ch.elexis.data.PersistentObject
      extended by ch.elexis.icpc.IcpcCode
All Implemented Interfaces:
IPersistentObject, ISelectable, ICodeElement, IDiagnose

public class IcpcCode
extends PersistentObject
implements IDiagnose


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.elexis.data.PersistentObject
PersistentObject.FieldType
 
Field Summary
static java.lang.String[] classes
           
static java.lang.String[] components
           
static java.lang.String createDB
           
 
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 IcpcCode()
           
protected IcpcCode(java.lang.String id)
           
 
Method Summary
 java.util.List<org.eclipse.jface.action.IAction> getActions(Verrechnet kontext)
          Kontext-Aktionen für dieses Code-Element
 java.lang.String getCode()
          Das Element in Code-Form.
 java.lang.String getCodeSystemCode()
          Kurzcode für das System liefern
 java.lang.String getCodeSystemName()
          Name des zugrundeliegenden Codesystems liefern
 java.lang.String getLabel()
          Einen menschenlesbaren Identifikationsstring für dieses Objet liefern
static Tree getRoot()
           
protected  java.lang.String getTableName()
          Jede abgeleitete Klasse muss deklarieren, in welcher Tabelle sie gespeichert werden will.
 java.lang.String getText()
          Das Element in Klartext-Form
static void initialize()
           
 boolean isDragOK()
          Darf dieses Objekt mit Drag&Drop verschoben werden?
static IcpcCode load(java.lang.String id)
           
static java.util.List<IcpcCode> loadAllFromComponent(java.lang.String cl, java.lang.String cmp, boolean rev)
          Fetch a list of all IcpcCodes in the specified class and component.
static void reload()
           
 void setLabel(java.lang.String l)
           
 java.lang.String storeToString()
          Objekt in einen String serialisieren.
 
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, isMatching, isMatching, isMatching, isMatching, isValid, lock, map, removeChangeListener, removeFromList, removeFromList, removeSticker, removeTable, resetCache, set, set, setBinary, setConstraint, setDefaultCacheLifetime, setInt, setMap, setTrace, setVersionedResource, state, tableExists, ts, undelete, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.elexis.data.ICodeElement
getId
 

Field Detail

createDB

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

classes

public static final java.lang.String[] classes

components

public static final java.lang.String[] components
Constructor Detail

IcpcCode

protected IcpcCode()

IcpcCode

protected IcpcCode(java.lang.String id)
Method Detail

initialize

public static void initialize()

getRoot

public static Tree getRoot()

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 interface IDiagnose
Specified by:
getLabel in class PersistentObject

setLabel

public void setLabel(java.lang.String l)

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

getCode

public java.lang.String getCode()
Description copied from interface: ICodeElement
Das Element in Code-Form. Aus dem Code und der Klasse muss das Element sich wieder erstellen lassen

Specified by:
getCode in interface ICodeElement

getCodeSystemCode

public java.lang.String getCodeSystemCode()
Description copied from interface: ICodeElement
Kurzcode für das System liefern

Specified by:
getCodeSystemCode in interface ICodeElement

getCodeSystemName

public java.lang.String getCodeSystemName()
Description copied from interface: ICodeElement
Name des zugrundeliegenden Codesystems liefern

Specified by:
getCodeSystemName in interface ICodeElement

getText

public java.lang.String getText()
Description copied from interface: ICodeElement
Das Element in Klartext-Form

Specified by:
getText in interface ICodeElement

load

public static IcpcCode load(java.lang.String id)

loadAllFromComponent

public static java.util.List<IcpcCode> loadAllFromComponent(java.lang.String cl,
                                                            java.lang.String cmp,
                                                            boolean rev)
Fetch a list of all IcpcCodes in the specified class and component.

Parameters:
cl - Class
cmp - Component
rev - Reverse order
Returns:
List of IcpcCodes.

reload

public static void reload()

isDragOK

public boolean isDragOK()
Description copied from class: PersistentObject
Darf dieses Objekt mit Drag&Drop verschoben werden?

Specified by:
isDragOK in interface IPersistentObject
Overrides:
isDragOK in class PersistentObject
Returns:
true wenn ja.

storeToString

public java.lang.String storeToString()
Description copied from class: PersistentObject
Objekt in einen String serialisieren. Diese Standardimplementation macht eine "cheap copy": Es wird eine Textrepräsentation des Objektes erstellt, mit deren Hilfe das Objekt später wieder aus der Datenbank erstellt werden kann. Dies funktioniert nur innerhalb derselben Datenbank.

Specified by:
storeToString in interface IPersistentObject
Overrides:
storeToString in class PersistentObject
Returns:
der code-String, aus dem mit PersistentObjectFactory .createFromString wieder das Objekt erstellt werden kann

getActions

public java.util.List<org.eclipse.jface.action.IAction> getActions(Verrechnet kontext)
Description copied from interface: ICodeElement
Kontext-Aktionen für dieses Code-Element

Specified by:
getActions in interface ICodeElement
Parameters:
kontext - TODO

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