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