jgnash.engine
Class AccountTreeXMLFactory.AccountImport
java.lang.Object
jgnash.engine.AccountTreeXMLFactory.AccountImport
- Enclosing class:
- AccountTreeXMLFactory
private static class AccountTreeXMLFactory.AccountImport
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mergeMap
private java.util.Map<Account,Account> mergeMap
AccountTreeXMLFactory.AccountImport
private AccountTreeXMLFactory.AccountImport()
importAccountTree
private void importAccountTree(Engine engine,
RootAccount root)
mergeAccountTree
private void mergeAccountTree(Engine engine,
RootAccount root)
fixCurrencies
private void fixCurrencies(Engine engine,
Account account)
- Ensures that duplicate currencies are not created when the accounts are merged
- Parameters:
engine - Engine with existing currenciesaccount - account to correct
forceCurrency
private void forceCurrency(Engine engine,
Account account)
- Ensures that duplicate currencies are not created when the accounts are merged
- Parameters:
engine - Engine with existing currenciesaccount - account to correct
importChildren
private void importChildren(Engine engine,
Account account)