public static final class IborFixingDeposit.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDeposit>
IborFixingDeposit.| Modifier and Type | Method and Description |
|---|---|
IborFixingDeposit |
build() |
IborFixingDeposit.Builder |
businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
Sets the business day adjustment to apply to the start and end date, optional.
|
IborFixingDeposit.Builder |
buySell(BuySell buySell)
Sets whether the Ibor fixing deposit is 'Buy' or 'Sell'.
|
IborFixingDeposit.Builder |
currency(Currency currency)
Sets the primary currency, defaulted to the currency of the index.
|
IborFixingDeposit.Builder |
dayCount(DayCount dayCount)
Sets the day count convention applicable, defaulted to the day count of the index.
|
IborFixingDeposit.Builder |
endDate(LocalDate endDate)
Sets the end date of the deposit.
|
IborFixingDeposit.Builder |
fixedRate(double fixedRate)
Sets the fixed interest rate to be paid.
|
IborFixingDeposit.Builder |
fixingDateOffset(DaysAdjustment fixingDateOffset)
Sets the offset of the fixing date from the start date.
|
Object |
get(String propertyName) |
IborFixingDeposit.Builder |
index(IborIndex index)
Sets the Ibor index.
|
IborFixingDeposit.Builder |
notional(double notional)
Sets the notional amount.
|
IborFixingDeposit.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
IborFixingDeposit.Builder |
set(String propertyName,
Object newValue) |
IborFixingDeposit.Builder |
startDate(LocalDate startDate)
Sets the start date of the deposit.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<IborFixingDeposit>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDeposit>public IborFixingDeposit.Builder set(String propertyName, Object newValue)
public IborFixingDeposit.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<IborFixingDeposit>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDeposit>public IborFixingDeposit build()
public IborFixingDeposit.Builder buySell(BuySell buySell)
A value of 'Buy' implies that the floating rate is paid to the counterparty, with the fixed rate being received. A value of 'Sell' implies that the floating rate is received from the counterparty, with the fixed rate being paid.
buySell - the new value, not nullpublic IborFixingDeposit.Builder currency(Currency currency)
This is the currency of the deposit and the currency that payment is made in. The data model permits this currency to differ from that of the index, however the two are typically the same.
When building, this will default to the currency of the index if not specified.
currency - the new value, not nullpublic IborFixingDeposit.Builder notional(double notional)
The notional expressed here must be non-negative.
The currency of the notional is specified by currency.
notional - the new valuepublic IborFixingDeposit.Builder startDate(LocalDate startDate)
Interest accrues from this date.
This date is typically set to be a valid business day.
Optionally, the businessDayAdjustment property may be set to provide a rule for adjustment.
startDate - the new value, not nullpublic IborFixingDeposit.Builder endDate(LocalDate endDate)
Interest accrues until this date.
This date is typically set to be a valid business day.
Optionally, the businessDayAdjustment property may be set to provide a rule for adjustment.
This date must be after the start date.
endDate - the new value, not nullpublic IborFixingDeposit.Builder businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
The start and end date are typically defined as valid business days and thus do not need to be adjusted. If this optional property is present, then the start and end date will be adjusted as defined here.
businessDayAdjustment - the new valuepublic IborFixingDeposit.Builder index(IborIndex index)
The floating rate to be paid or received is based on this index It will be a well known market index such as 'GBP-LIBOR-3M'.
See buySell to determine whether this rate is paid or received.
index - the new value, not nullpublic IborFixingDeposit.Builder fixingDateOffset(DaysAdjustment fixingDateOffset)
The offset is applied to the start date and is typically minus 2 business days. The data model permits the offset to differ from that of the index, however the two are typically the same.
When building, this will default to the fixing date offset of the index if not specified.
fixingDateOffset - the new value, not nullpublic IborFixingDeposit.Builder dayCount(DayCount dayCount)
This is used to convert dates to a numerical value. The data model permits the day count to differ from that of the index, however the two are typically the same.
When building, this will default to the day count of the index if not specified.
dayCount - the new value, not nullpublic IborFixingDeposit.Builder fixedRate(double fixedRate)
fixedRate - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborFixingDeposit>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.