Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.pjsofts.eurobudget.format.qif
Class QIFNonInvestmentItem  view QIFNonInvestmentItem download QIFNonInvestmentItem.java

java.lang.Object
  extended bycom.pjsofts.eurobudget.format.qif.QIFNonInvestmentItem

public class QIFNonInvestmentItem
extends java.lang.Object

datas of group in QIF already a bit decoded without prefix letter

Items for Non-Investment Accounts

Each item in a bank, cash, credit card, other liability, or other asset account must begin with a letter that indicates the field in the Quicken register. The non-split items can be in any sequence:

Field Indicator Explanation
D Date
T Amount
C Cleared status
N Num (check or reference number)
P Payee
M Memo
A Address (up to five lines; the sixth line is an optional message)
L Category (Category/Subcategory/Transfer/Class)
S Category in split (Category/Transfer/Class)
E Memo in split
$ Dollar amount of split
^ End of the entry

Note: Repeat the S, E, and $ lines as many times as needed for additional items in a split. If an item is omitted from the transaction in the QIF file, Quicken treats it as a blank item.


Field Summary
 java.lang.String a
          Address (up to five lines; the sixth line is an optional message)
 java.lang.String c
          cleared status
 java.util.Date d
          date
 java.lang.String dollardsign
          Dollar amount of split
 java.lang.String e
          Memo in split
private static java.util.ResourceBundle i18n
           
 java.lang.String l
          Category (Category/Subcategory/Transfer/Class)
 java.lang.String m
          Memo
 java.lang.Long n
          num (check or ref number as String )
 java.lang.String p
          Payee
 java.lang.Double t
          amount
(package private)  boolean tl_with_brackets
          is complex category
 
Constructor Summary
QIFNonInvestmentItem()
           
 
Method Summary
 boolean isNull()
           
static QIFNonInvestmentItem readItem(java.lang.String currentLine, CacheReader br, boolean checkRuleDT)
           
static com.pjsofts.eurobudget.beans.Transaction toEBTransaction(com.pjsofts.eurobudget.DataModel dm, com.pjsofts.eurobudget.beans.Account currentAccount, QIFNonInvestmentItem datas)
          Do any business logic rules to recreate a good transaction In charge of adding it to the right account(currentAccount most of the time, except for some virement).
static java.lang.String toQIF(com.pjsofts.eurobudget.beans.Transaction t)
          export one transaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i18n

private static final java.util.ResourceBundle i18n

d

public java.util.Date d
date


c

public java.lang.String c
cleared status


m

public java.lang.String m
Memo


e

public java.lang.String e
Memo in split


t

public java.lang.Double t
amount


n

public java.lang.Long n
num (check or ref number as String )


a

public java.lang.String a
Address (up to five lines; the sixth line is an optional message)


p

public java.lang.String p
Payee


l

public java.lang.String l
Category (Category/Subcategory/Transfer/Class)


tl_with_brackets

boolean tl_with_brackets
is complex category


dollardsign

public java.lang.String dollardsign
Dollar amount of split

Constructor Detail

QIFNonInvestmentItem

public QIFNonInvestmentItem()
Method Detail

isNull

public boolean isNull()

toQIF

public static java.lang.String toQIF(com.pjsofts.eurobudget.beans.Transaction t)
export one transaction


readItem

public static QIFNonInvestmentItem readItem(java.lang.String currentLine,
                                            CacheReader br,
                                            boolean checkRuleDT)
                                     throws java.io.IOException,
                                            java.text.ParseException

toEBTransaction

public static com.pjsofts.eurobudget.beans.Transaction toEBTransaction(com.pjsofts.eurobudget.DataModel dm,
                                                                       com.pjsofts.eurobudget.beans.Account currentAccount,
                                                                       QIFNonInvestmentItem datas)
Do any business logic rules to recreate a good transaction In charge of adding it to the right account(currentAccount most of the time, except for some virement). some params may be null precondition, c,d,t are not null