net.sourceforge.eclipsetrader.core.db
Class DefaultAccount

java.lang.Object
  extended byjava.util.Observable
      extended bynet.sourceforge.eclipsetrader.core.db.PersistentObject
          extended bynet.sourceforge.eclipsetrader.core.db.Account
              extended bynet.sourceforge.eclipsetrader.core.db.DefaultAccount
All Implemented Interfaces:
java.lang.Cloneable

public class DefaultAccount
extends Account

Default account implementation.

Used as a fallback when it is not possible to restore a plugin-created account


Constructor Summary
DefaultAccount()
           
DefaultAccount(Account account)
           
DefaultAccount(java.lang.Integer id)
           
 
Method Summary
 java.lang.Object clone()
           
 
Methods inherited from class net.sourceforge.eclipsetrader.core.db.Account
getBalance, getCurrency, getDescription, getExpenses, getGroup, getInitialBalance, getPluginId, getPortfolio, getPortfolio, getPosition, getPreferenceStore, getTransactions, setCurrency, setDescription, setGroup, setInitialBalance, setPluginId, setPreferenceStore, setTransactions
 
Methods inherited from class net.sourceforge.eclipsetrader.core.db.PersistentObject
clearChanged, equals, getData, getId, getRepository, setChanged, setData, setId, setRepository
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAccount

public DefaultAccount()

DefaultAccount

public DefaultAccount(java.lang.Integer id)

DefaultAccount

public DefaultAccount(Account account)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class Account
Throws:
java.lang.CloneNotSupportedException