ch.elexis.medikamente.bag.data
Class Interaction
java.lang.Object
ch.elexis.data.PersistentObject
ch.elexis.medikamente.bag.data.Interaction
- All Implemented Interfaces:
- IPersistentObject, ISelectable, java.lang.Comparable<Interaction>
public class Interaction
- extends PersistentObject
- implements java.lang.Comparable<Interaction>
InterView - Community based Interaction viewer - will be built on this class
- Author:
- Gerry
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 |
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 |
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
- See Also:
- Constant Field Values
TYPE_PLUS
public static final int TYPE_PLUS
- See Also:
- Constant Field Values
TYPE_MINUS
public static final int TYPE_MINUS
- See Also:
- Constant Field Values
TYPE_TOXIC
public static final int TYPE_TOXIC
- See Also:
- Constant Field Values
TYPE_HWZ
public static final int TYPE_HWZ
- See Also:
- Constant Field Values
RELEVANCE_UNKNOWN
public static final int RELEVANCE_UNKNOWN
- See Also:
- Constant Field Values
RELEVANCE_LOW
public static final int RELEVANCE_LOW
- See Also:
- Constant Field Values
RELEVANCE_MEDIUM
public static final int RELEVANCE_MEDIUM
- See Also:
- Constant Field Values
RELEVANCE_HIGH
public static final int RELEVANCE_HIGH
- See Also:
- Constant Field Values
INTERAKTIONSTYPEN
public static final java.lang.String[] INTERAKTIONSTYPEN
RELEVANCE
public static final java.lang.String[] RELEVANCE
Interaction
public Interaction(Substance s1,
Substance s2,
java.lang.String desc,
int t,
int sev)
getInteractionsFor
public static java.util.List<Interaction> getInteractionsFor(Substance s)
getSubstances
public Substance[] getSubstances()
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String desc)
getType
public int getType()
setType
public void setType(int typ)
getRelevance
public int getRelevance()
setRelevance
public void setRelevance(int r)
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
load
public static Interaction load(java.lang.String id)
compareTo
public int compareTo(Interaction o)
- Specified by:
compareTo
in interface java.lang.Comparable<Interaction>
Copyright 2005-2011 by Gerry Weirich, Elexis