/** * Start up an existing portfolio * * @param portfolioTable The table with this portfolio */ public Portfolio(final PortfolioEntity portfolioTable, final IAlgorithm algorithm) { jpaHelper = JPAHelper.getInstance(); this.portfolioTable = portfolioTable; this.algorithm = algorithm; Log.log(TAG.VERY_VERBOSE, "Portfolio " + portfolioTable.getName() + " is loaded"); }
public Portfolio(final PortfolioEntity portfolioTable) { // Portfolio without algorithm yet. this.portfolioTable = portfolioTable; jpaHelper = JPAHelper.getInstance(); }