gnu.qif
Class OpeningBalanceRecord

java.lang.Object
  |
  +--gnu.qif.QIFRecord
        |
        +--gnu.qif.OpeningBalanceRecord

public class OpeningBalanceRecord
extends QIFRecord

If the very first Bank transaction in the file has a payee of "Opening Balance", the L line contains the name of the account that the file describes. Here is an example:

 !Type:Bank
 D12/03/95
 T4,706.57
 CX
 POpening Balance
 L[New Bank]
 ^
 

Version:
$Id: OpeningBalanceRecord.html,v 1.1 2001/11/17 07:42:49 nicolas Exp $
Author:
Nicolas Marchildon

Field Summary
protected  java.lang.String accountName
           
protected  float balance
           
protected  java.util.Date date
           
 
Fields inherited from class gnu.qif.QIFRecord
RECORD_ACCOUNT, RECORD_END, RECORD_START, RECORD_TYPE, TYPE_ASSET, TYPE_BANK, TYPE_CASH, TYPE_CATEGORY_LIST, TYPE_CLASS_LIST, TYPE_CREDIT_CARD, TYPE_INVESTMENT, TYPE_LIABILITY, TYPE_MEMORIZED
 
Constructor Summary
OpeningBalanceRecord(java.lang.String accountName, java.util.Date date, float balance)
           
 
Method Summary
 java.lang.String toString()
          Returns the complete QIF record corresponding to the AccountRecord.
 
Methods inherited from class gnu.qif.QIFRecord
encodeDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

accountName

protected java.lang.String accountName

date

protected java.util.Date date

balance

protected float balance
Constructor Detail

OpeningBalanceRecord

public OpeningBalanceRecord(java.lang.String accountName,
                            java.util.Date date,
                            float balance)
Method Detail

toString

public java.lang.String toString()
Returns the complete QIF record corresponding to the AccountRecord. Values that were not explicitely set are not included in the result.
Overrides:
toString in class java.lang.Object