ch.elexis.medikamente.bag.data
Class Substance
java.lang.Object
ch.elexis.data.PersistentObject
ch.elexis.medikamente.bag.data.Substance
- All Implemented Interfaces:
- IPersistentObject, ISelectable
public class Substance
- extends PersistentObject
Field Summary |
static java.lang.String |
TABLENAME
|
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 |
Constructor Summary |
Substance(java.lang.String name,
java.lang.String group)
|
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 |
TABLENAME
public static final java.lang.String TABLENAME
- See Also:
- Constant Field Values
Substance
public Substance(java.lang.String name,
java.lang.String group)
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<BAGMedi> findMedis(java.util.SortedSet<BAGMedi> 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)
Copyright 2005-2011 by Gerry Weirich, Elexis