Back to project page bankomatinfos.
The source code is released under:
GNU General Public License
If you think the Android project bankomatinfos listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package at.zweng.bankomatinfos.model; /* w ww .ja va 2 s . co m*/ import java.util.Date; /** * base class for transaction log entries * * @author john */ public abstract class AbstractTransactionLogEntry { protected Date _transactionTimestamp; protected long _amount; protected int _atc; protected String _currency; private byte[] _rawEntry; protected boolean _hasTime; /** * @return the _transactionTimestamp */ public Date getTransactionTimestamp() { return _transactionTimestamp; } /** * @param transactionTimestamp * the _transactionTimestamp to set * @param true if timestamp also contains time (not just date) */ public void setTransactionTimestamp(Date transactionTimestamp, boolean includesTime) { this._transactionTimestamp = transactionTimestamp; this._hasTime = includesTime; } /** * @return the _amount */ public long getAmount() { return _amount; } /** * @param _amount * the _amount to set */ public void setAmount(long amount) { this._amount = amount; } /** * @return the _currency */ public String getCurrency() { return _currency; } /** * @param _currency * the _currency to set */ public void setCurrency(String currency) { this._currency = currency; } /** * @return the _atc (application transaction counter) */ public int getAtc() { return _atc; } /** * @param atc * the _atc (application transaction counter) to set */ public void setAtc(int atc) { this._atc = atc; } /** * @return the _rawEntry */ public byte[] getRawEntry() { return _rawEntry; } /** * @param _rawEntry * the _rawEntry to set */ public void setRawEntry(byte[] rawEntry) { this._rawEntry = rawEntry; } /** * @return <code>true</code> if timestamp contains date + time, * <code>false</code> otherwise */ public boolean hasTime() { return _hasTime; } }