|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.qif.QIFRecord | +--planetj.qif.QIFBankTransaction
Bank account transaction. Does not support splits yet.
Field Summary | |
static String |
FIELD_ACCOUNT_FOR_TRANSFER
|
static String |
FIELD_ACTION
|
static String |
FIELD_ADDRESS
|
static String |
FIELD_AMOUNT_OF_SPLIT
|
static String |
FIELD_AMOUNT_TRANSFERRED
|
static String |
FIELD_CATEGORY
|
static String |
FIELD_CLEARED_STATUS
|
static String |
FIELD_COMMISSION
|
static String |
FIELD_DATE
|
static String |
FIELD_END_OF_ENTRY
|
static String |
FIELD_MEMO
|
static String |
FIELD_MEMO_IN_SPLIT
|
static String |
FIELD_NUMBER
|
static String |
FIELD_PAYEE
|
static String |
FIELD_PRICE
|
static String |
FIELD_QUANTITY
|
static String |
FIELD_REIMBURSABLE_BUSINESS_EXPENSE
|
static String |
FIELD_SECURITY
|
static String |
FIELD_TOTAL
|
static String |
FIELD_TRANSACTION_AMOUNT
|
Fields inherited from class planetj.qif.QIFRecord |
CLEAR_AUTOSWITCH, OPTION_ALL_TRANSFER, OPTION_AUTOSWITCH, RECORD_ACCOUNT, RECORD_CLEAR, RECORD_END, RECORD_OPTION, RECORD_TYPE, TYPE_ASSET, TYPE_BANK, TYPE_BILL, TYPE_BUDGET, TYPE_CASH, TYPE_CATEGORY_LIST, TYPE_CLASS_LIST, TYPE_CREDIT_CARD, TYPE_INVESTMENT, TYPE_INVOICE, TYPE_INVOICE_ITEM, TYPE_LIABILITY, TYPE_MEMORIZED, TYPE_PRICES, TYPE_SECURITY, TYPE_TAX, TYPE_TEMPLATE |
Constructor Summary | |
QIFBankTransaction()
Constructs a blank TransactionRecord. |
Method Summary | |
String |
getAccount()
Returns the account from which the amount of the transaction was taken from. |
String |
getCategory()
|
Date |
getDate()
Returns the date of the transaction. |
String |
getMemo()
Returns the transaction's memo, or null if none was set. |
String |
getNumber()
Returns the transaction's number, which is usually a check number or some other identifying number for the transaction. |
String |
getPayee()
Returns who's involved in the transaction, such as the name of a store where expenses took place. |
boolean |
isCleared()
Returns whether the transaction is "cleared" or not. |
boolean |
isReconciled()
Returns whether the transaction is "reconciled" or not. |
void |
setAccount(String account)
Sets the account from which the amount of the transaction was taken from. |
void |
setCategory(String category)
Sets the category from which the amount of the transaction was taken from. |
void |
setCleared(boolean cleared)
Sets the "cleared" status. |
void |
setDate(Date date)
Sets the date of the transaction. |
void |
setMemo(String memo)
Give the transaction a memo. |
void |
setNumber(String number)
Sets the transaction's number, which is usually a check number or some other identifying number for the transaction. |
void |
setPayee(String payee)
Sets who's involved in the transaction, such as the name of a store where expenses took place. |
void |
setReconciled(boolean reconciled)
Sets the "reconciled" flag. |
void |
setTotal(float total)
Sets the total amount of the transaction. |
String |
toString()
Returns the complete QIF record corresponding to the AccountRecord. |
StringBuffer |
toStringBuffer()
Returns the complete QIF record corresponding to the AccountRecord. |
Methods inherited from class planetj.qif.QIFRecord |
encodeDate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String FIELD_DATE
public static final String FIELD_TOTAL
public static final String FIELD_CLEARED_STATUS
public static final String FIELD_NUMBER
public static final String FIELD_PAYEE
public static final String FIELD_MEMO
public static final String FIELD_ADDRESS
public static final String FIELD_CATEGORY
public static final String FIELD_MEMO_IN_SPLIT
public static final String FIELD_AMOUNT_OF_SPLIT
public static final String FIELD_END_OF_ENTRY
public static final String FIELD_REIMBURSABLE_BUSINESS_EXPENSE
public static final String FIELD_ACTION
public static final String FIELD_SECURITY
public static final String FIELD_PRICE
public static final String FIELD_QUANTITY
public static final String FIELD_TRANSACTION_AMOUNT
public static final String FIELD_COMMISSION
public static final String FIELD_ACCOUNT_FOR_TRANSFER
public static final String FIELD_AMOUNT_TRANSFERRED
Constructor Detail |
public QIFBankTransaction()
Method Detail |
public String getAccount()
public String getCategory()
public Date getDate()
public String getMemo()
null
if none was set.
public String getNumber()
public String getPayee()
public boolean isCleared()
public boolean isReconciled()
public void setAccount(String account)
public void setCategory(String category)
public void setCleared(boolean cleared)
public void setDate(Date date)
public void setMemo(String memo)
public void setNumber(String number)
public void setPayee(String payee)
public void setReconciled(boolean reconciled)
public void setTotal(float total)
public String toString()
toString
in class Object
public StringBuffer toStringBuffer()
This method saves a String Object creation over toString(). Please use this method if possible Creation date: (2/8/2002 7:36:52 PM)
toStringBuffer
in class QIFRecord
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |