jgnash.engine
Class RootAccount

java.lang.Object
  extended by jgnash.engine.StoredObject
      extended by jgnash.engine.Account
          extended by jgnash.engine.RootAccount
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Account>

public class RootAccount
extends Account

The RootAccount class

Version:
$Id$
Author:
Craig Cavanaugh
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class jgnash.engine.Account
parentAccount, securities, transactions
 
Constructor Summary
  RootAccount()
          Deprecated.  
protected RootAccount(CurrencyNode node)
          Public constructor.
 
Method Summary
 AccountType getAccountType()
           
 java.lang.String getPathName()
          Override the super.
 
Methods inherited from class jgnash.engine.Account
addChild, addSecurity, addTransaction, clearCachedBalances, clone, compareTo, contains, contains, containsSecurity, equals, getAccountNumber, getBalance, getBalance, getBalance, getBalance, getBalance, getBalanceAt, getBankId, getCashBalance, getChildCount, getChildren, getCurrencyNode, getDepth, getDescription, getFirstUnreconciledTransactionDate, getMarketValue, getName, getNextTransactionNumber, getNotes, getOpeningBalanceForReconcile, getParent, getProperties, getProperty, getProxy, getReconciledBalance, getReconciledTreeBalance, getSecurities, getTransactionAt, getTransactionCount, getTransactionLock, getTransactions, getTransactions, getTreeBalance, getTreeBalance, getTreeBalance, getUsedSecurities, hashCode, indexOf, instanceOf, isLocked, isParent, isPlaceHolder, isVisible, memberOf, readResolve, removeChild, removeProperty, removeSecurity, removeTransaction, setAccountNumber, setAccountType, setBankId, setCurrencyNode, setDescription, setLocked, setName, setNotes, setParent, setPlaceHolder, setProperty, setVisible, toString
 
Methods inherited from class jgnash.engine.StoredObject
getUuid, isMarkedForRemoval, setMarkedForRemoval
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

RootAccount

@Deprecated
public RootAccount()
Deprecated. 

No argument constructor for reflection purposes. Do not use to create a new instance


RootAccount

protected RootAccount(CurrencyNode node)
Public constructor.

Parameters:
node - The base commodity for this data set.
Method Detail

getAccountType

public AccountType getAccountType()
Overrides:
getAccountType in class Account

getPathName

public java.lang.String getPathName()
Override the super. This account does not have a valid or usable path.

Overrides:
getPathName in class Account
Returns:
returns an empty string.