ch.elexis.data
Class AccountTransaction
java.lang.Object
ch.elexis.data.PersistentObject
ch.elexis.data.AccountTransaction
- All Implemented Interfaces:
- IPersistentObject, ISelectable
public class AccountTransaction
- extends PersistentObject
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, 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 |
FLD_REMARK
public static final java.lang.String FLD_REMARK
- See Also:
- Constant Field Values
FLD_AMOUNT
public static final java.lang.String FLD_AMOUNT
- See Also:
- Constant Field Values
FLD_BILL_ID
public static final java.lang.String FLD_BILL_ID
- See Also:
- Constant Field Values
FLD_PAYMENT_ID
public static final java.lang.String FLD_PAYMENT_ID
- See Also:
- Constant Field Values
FLD_PATIENT_ID
public static final java.lang.String FLD_PATIENT_ID
- See Also:
- Constant Field Values
AccountTransaction
public AccountTransaction(Patient pat,
Rechnung r,
Money betrag,
java.lang.String date,
java.lang.String bemerkung)
AccountTransaction
public AccountTransaction(Zahlung z)
getDate
public java.lang.String getDate()
getAmount
public Money getAmount()
getRemark
public java.lang.String getRemark()
getPatient
public Patient getPatient()
getRechnung
public Rechnung getRechnung()
getZahlung
public Zahlung getZahlung()
delete
public boolean delete()
- Description copied from class:
PersistentObject
- Ein Objekt und ggf. dessen XID's aus der Datenbank löschen the object is not deleted but
rather marked as deleted. A purge must be applied to remove the object really
- Overrides:
delete
in class PersistentObject
- Returns:
- true on success
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 AccountTransaction load(java.lang.String id)
Copyright 2005-2011 by Gerry Weirich, Elexis