/** * Returns whether it has the cost basis of the portfolio in the portfolio * default currency. * * @return whether it has the cost basis of the portfolio in the portfolio * default currency */ public boolean hasCostBasis() { return hasExtension(CostBasis.class); }
/** * Returns whether it has the gain for the portfolio in the portfolio default * currency. * * @return whether it has the gain for the portfolio in the portfolio default * currency */ public boolean hasGain() { return hasExtension(Gain.class); }
/** * Returns whether it has the today's gain for the portfolio in the portfolio * default currency. * * @return whether it has the today's gain for the portfolio in the portfolio * default currency */ public boolean hasDaysGain() { return hasExtension(DaysGain.class); }
/** * Returns whether it has the market value of the portfolio in the portfolio * default currency. * * @return whether it has the market value of the portfolio in the portfolio * default currency */ public boolean hasMarketValue() { return hasExtension(MarketValue.class); }
/** * Returns whether it has the gain for the portfolio in the portfolio default * currency. * * @return whether it has the gain for the portfolio in the portfolio default * currency */ public boolean hasGain() { return hasExtension(Gain.class); }
/** * Returns whether it has the cost basis of the portfolio in the portfolio * default currency. * * @return whether it has the cost basis of the portfolio in the portfolio * default currency */ public boolean hasCostBasis() { return hasExtension(CostBasis.class); }
/** * Returns whether it has the today's gain for the portfolio in the portfolio * default currency. * * @return whether it has the today's gain for the portfolio in the portfolio * default currency */ public boolean hasDaysGain() { return hasExtension(DaysGain.class); }
/** * Returns whether it has the market value of the portfolio in the portfolio * default currency. * * @return whether it has the market value of the portfolio in the portfolio * default currency */ public boolean hasMarketValue() { return hasExtension(MarketValue.class); }