Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.artikel_at.data
Class Substance

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

public class Substance
extends PersistentObject


Nested Class Summary
 
Nested classes/interfaces inherited from class ch.elexis.data.PersistentObject
PersistentObject.FieldType
 
Field Summary
static java.lang.String FLD_NAME
           
 
Fields inherited from class ch.elexis.data.PersistentObject
CACHE_DEFAULT_LIFETIME, CACHE_MIN_LIFETIME, CFG_CONNECTSTRING, CFG_DRIVER, CFG_PWD, CFG_TYPE, CFG_USER, DELETED, EXISTS, INEXISTENT, INVALID_ID, MATCH_AUTO, MATCH_CONTAINS, MATCH_EXACT, MATCH_REGEXP, MATCH_START
 
Fields inherited from interface ch.elexis.core.data.IPersistentObject
FLD_DATE, FLD_DELETED, FLD_EXTINFO, FLD_ID, FLD_LASTUPDATE, STATE_EXISTING, STATE_INEXISTENT, STATE_INVALID_ID
 
Constructor Summary
Substance(java.lang.String substID, java.lang.String name, java.lang.String salt)
           
 
Method Summary
static java.util.List<Substance> allFromGroup(java.lang.String group)
           
static Substance find(java.lang.String name)
           
 java.util.SortedSet<Medikament> findMedis(java.util.SortedSet<Medikament> list)
           
 java.util.List<Interaction> getInteractions()
           
 java.util.Collection<Interaction> getInteractionsWith(Substance other, java.util.SortedSet<Interaction> old)
           
 java.lang.String getLabel()
          Einen menschenlesbaren Identifikationsstring für dieses Objet liefern
static Substance load(java.lang.String id)
           
 java.util.List<Substance> sameGroup()
           
 
Methods inherited from class ch.elexis.data.PersistentObject
addChangeListener, addSticker, addToList, addXid, begin, checkNull, checkZero, checkZeroDouble, clearCache, connect, connect, delete, deleteList, disconnect, equals, executeSQLScript, exists, exportData, fireChangeEvent, flatten, fold, get, get, getCacheTime, getConnection, getDefaultCacheLifetime, getFieldType, getId, getInt, getLastUpdate, getList, getList, getMap, getSticker, getStickers, getWrappedId, getXid, getXid, getXids, hashCode, isAvailable, isDeleted, isDragOK, isMatching, isMatching, isMatching, isMatching, isShowDeleted, isValid, lock, map, relock, removeChangeListener, removeFromList, removeFromList, removeSticker, resetCache, set, set, setDefaultCacheLifetime, setInt, setMap, setShowDeleted, setTrace, state, storeToString, tableExists, ts, undelete, unlock
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLD_NAME

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

Substance

public Substance(java.lang.String substID,
                 java.lang.String name,
                 java.lang.String salt)
Method Detail

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

findMedis

public java.util.SortedSet<Medikament> findMedis(java.util.SortedSet<Medikament> list)

sameGroup

public java.util.List<Substance> sameGroup()

find

public static Substance find(java.lang.String name)

allFromGroup

public static java.util.List<Substance> allFromGroup(java.lang.String group)

getInteractions

public java.util.List<Interaction> getInteractions()

getInteractionsWith

public java.util.Collection<Interaction> getInteractionsWith(Substance other,
                                                             java.util.SortedSet<Interaction> old)

load

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

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis