/** * Sets the label to use for the node, defaulted. * <p> * When building, this will default based on the tenor if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
/** * Sets the label to use for the node, defaulted. * <p> * When building, this will default based on the tenor if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
/** * Sets the label to use for the node, defaulted. * <p> * When building, this will default based on the tenor if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
/** * Sets the label to use for the node, defaulted. * <p> * When building, this will default based on the deposit period if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
/** * Sets the discounting curves. * <p> * The curve data, predicting the discount factor, associated with each currency. * @param discountCurves the new value, not empty * @return this, for chaining, not null */ public Builder discountCurves(Map<Currency, CreditDiscountFactors> discountCurves) { JodaBeanUtils.notEmpty(discountCurves, "discountCurves"); this.discountCurves = discountCurves; return this; }
/** * Sets the label to use for the node, defaulted. * <p> * When building, this will default based on the tenor if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
private LabelParameterMetadata( String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; }
private SwaptionSurfaceExpiryTenorParameterMetadata( double yearFraction, double tenor, String label) { JodaBeanUtils.notEmpty(label, "label"); this.yearFraction = yearFraction; this.tenor = tenor; this.label = label; }
/** * Sets the label to use for the node, defaulted. * <p> * When building, this will default based on the tenor if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
private SwaptionSurfaceExpirySimpleMoneynessParameterMetadata( double yearFraction, double simpleMoneyness, String label) { JodaBeanUtils.notEmpty(label, "label"); this.yearFraction = yearFraction; this.simpleMoneyness = simpleMoneyness; this.label = label; }
/** * Sets the root of the name of the index, such as 'GBP-LIBOR', to which the tenor is appended. * This name matches that used by {@link IborIndex} or {@link OvernightIndex}. * Typically, multiple {@code FloatingRateName} names map to one Ibor or Overnight index. * @param indexName the new value, not empty * @return this, for chaining, not null */ public Builder indexName(String indexName) { JodaBeanUtils.notEmpty(indexName, "indexName"); this.indexName = indexName; return this; }
/** * Sets the label to use for the node, defaulted. * <p> * When building, this will default based on the tenor if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
/** * Sets the label to use for the node. * <p> * When building, this will default based on {@code template} if not specified. * @param label the new value, not empty * @return this, for chaining, not null */ public Builder label(String label) { JodaBeanUtils.notEmpty(label, "label"); this.label = label; return this; }
private ResolvedTradeParameterMetadata( ResolvedTrade trade, String label) { JodaBeanUtils.notNull(trade, "trade"); JodaBeanUtils.notEmpty(label, "label"); this.trade = trade; this.label = label; }
private GenericVolatilitySurfaceYearFractionParameterMetadata( double yearFraction, Strike strike, String label) { JodaBeanUtils.notNull(strike, "strike"); JodaBeanUtils.notEmpty(label, "label"); this.yearFraction = yearFraction; this.strike = strike; this.label = label; }
private GenericVolatilitySurfacePeriodParameterMetadata( Period period, Strike strike, String label) { JodaBeanUtils.notNull(strike, "strike"); JodaBeanUtils.notEmpty(label, "label"); this.period = period; this.strike = strike; this.label = label; }
private LabelDateParameterMetadata( LocalDate date, String label) { JodaBeanUtils.notNull(date, "date"); JodaBeanUtils.notEmpty(label, "label"); this.date = date; this.label = label; }
private Schedule( List<SchedulePeriod> periods, Frequency frequency, RollConvention rollConvention) { JodaBeanUtils.notEmpty(periods, "periods"); JodaBeanUtils.notNull(frequency, "frequency"); JodaBeanUtils.notNull(rollConvention, "rollConvention"); this.periods = ImmutableList.copyOf(periods); this.frequency = frequency; this.rollConvention = rollConvention; }
private YearMonthDateParameterMetadata( LocalDate date, YearMonth yearMonth, String label) { JodaBeanUtils.notNull(date, "date"); JodaBeanUtils.notNull(yearMonth, "yearMonth"); JodaBeanUtils.notEmpty(label, "label"); this.date = date; this.yearMonth = yearMonth; this.label = label; }
@ImmutableConstructor private ResolvedSwap(List<ResolvedSwapLeg> legs) { JodaBeanUtils.notEmpty(legs, "legs"); this.legs = ImmutableList.copyOf(legs); this.currencies = buildCurrencies(legs); this.indices = buildIndices(legs); }