/** * Sets the index name, such as 'GBP-SONIA'. * @param name the new value, not null * @return this, for chaining, not null */ public Builder name(String name) { JodaBeanUtils.notNull(name, "name"); this.name = name; 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 market data value which provides data for multiple scenarios. * @param value the new value, not null * @return this, for chaining, not null */ public Builder<T> value(ScenarioArray<T> value) { JodaBeanUtils.notNull(value, "value"); this.value = value; return this; }
/** * Sets the metadata for the curve. * <p> * This is used to identify the curve and the necessary pieces of market data. * @param curveMetadata the new value, not null * @return this, for chaining, not null */ public Builder curveMetadata(CurveMetadata curveMetadata) { JodaBeanUtils.notNull(curveMetadata, "curveMetadata"); this.curveMetadata = curveMetadata; return this; }
/** * Sets the identifier of the market data value that provides the quoted value. * @param observableId the new value, not null * @return this, for chaining, not null */ public Builder observableId(ObservableId observableId) { JodaBeanUtils.notNull(observableId, "observableId"); this.observableId = observableId; return this; }
/** * Sets the day count to measure the time in the expiry dimension. * @param dayCount the new value, not null * @return this, for chaining, not null */ public Builder dayCount(DayCount dayCount) { JodaBeanUtils.notNull(dayCount, "dayCount"); this.dayCount = dayCount; return this; }
/** * Sets the left extrapolator for the SABR parameters. * <p> * The flat extrapolation is used if not specified. * @param extrapolatorLeft the new value, not null * @return this, for chaining, not null */ public Builder extrapolatorLeft(CurveExtrapolator extrapolatorLeft) { JodaBeanUtils.notNull(extrapolatorLeft, "extrapolatorLeft"); this.extrapolatorLeft = extrapolatorLeft; return this; }
private SimpleCurveParameterMetadata( ValueType xValueType, double xValue) { JodaBeanUtils.notNull(xValueType, "xValueType"); this.xValueType = xValueType; this.xValue = xValue; }
/** * Sets the fixing time. * <p> * The rate is fixed at the fixing time of the fixing date. * @param fixingTime the new value, not null * @return this, for chaining, not null */ public Builder fixingTime(LocalTime fixingTime) { JodaBeanUtils.notNull(fixingTime, "fixingTime"); this.fixingTime = fixingTime; return this; }
/** * Sets the fixing time-zone. * <p> * The time-zone of the fixing time. * @param fixingZone the new value, not null * @return this, for chaining, not null */ public Builder fixingZone(ZoneId fixingZone) { JodaBeanUtils.notNull(fixingZone, "fixingZone"); this.fixingZone = fixingZone; return this; }
private ObjIntPair( A first, int second) { JodaBeanUtils.notNull(first, "first"); this.first = first; this.second = second; }
/** * Sets the name. * @param name the new value, not null * @return this, for chaining, not null */ public Builder name(IborCapletFloorletVolatilitiesName name) { JodaBeanUtils.notNull(name, "name"); this.name = name; return this; }
/** * Sets the valuation date-time. * <p> * The volatilities are calibrated for this date-time. * @param valuationDateTime the new value, not null * @return this, for chaining, not null */ public Builder valuationDateTime(ZonedDateTime valuationDateTime) { JodaBeanUtils.notNull(valuationDateTime, "valuationDateTime"); this.valuationDateTime = valuationDateTime; return this; }
private ObjDoublePair( A first, double second) { JodaBeanUtils.notNull(first, "first"); this.first = first; this.second = second; }
/** * Sets the day count convention applicable. * <p> * This is used to convert schedule period dates to a numerical value. * @param dayCount the new value, not null * @return this, for chaining, not null */ public Builder dayCount(DayCount dayCount) { JodaBeanUtils.notNull(dayCount, "dayCount"); this.dayCount = dayCount; return this; }
/** * Sets the legal entity identifier. * <p> * This identifier is used for the reference legal entity of the CDS. * @param legalEntityId the new value, not null * @return this, for chaining, not null */ public Builder legalEntityId(StandardId legalEntityId) { JodaBeanUtils.notNull(legalEntityId, "legalEntityId"); this.legalEntityId = legalEntityId; return this; }
private IborCapletFloorletVolatilitiesId( IborCapletFloorletVolatilitiesName name) { JodaBeanUtils.notNull(name, "name"); this.name = name; }
private ValueDerivatives( double value, DoubleArray derivatives) { JodaBeanUtils.notNull(derivatives, "derivatives"); this.value = value; this.derivatives = derivatives; }