public static final class ImmutableIborFixingDepositConvention.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFixingDepositConvention>
ImmutableIborFixingDepositConvention.| Modifier and Type | Method and Description |
|---|---|
ImmutableIborFixingDepositConvention |
build() |
ImmutableIborFixingDepositConvention.Builder |
businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
Sets the business day adjustment to apply to the start and end date, optional with defaulting getter.
|
ImmutableIborFixingDepositConvention.Builder |
currency(Currency currency)
Sets the primary currency, optional with defaulting getter.
|
ImmutableIborFixingDepositConvention.Builder |
dayCount(DayCount dayCount)
Sets the day count convention applicable, optional with defaulting getter.
|
ImmutableIborFixingDepositConvention.Builder |
fixingDateOffset(DaysAdjustment fixingDateOffset)
Sets the offset of the fixing date from the start date, optional with defaulting getter.
|
Object |
get(String propertyName) |
ImmutableIborFixingDepositConvention.Builder |
index(IborIndex index)
Sets the Ibor index.
|
ImmutableIborFixingDepositConvention.Builder |
name(String name)
Sets the convention name, such as 'GBP-LIBOR-3M', optional with defaulting getter.
|
ImmutableIborFixingDepositConvention.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ImmutableIborFixingDepositConvention.Builder |
set(String propertyName,
Object newValue) |
ImmutableIborFixingDepositConvention.Builder |
spotDateOffset(DaysAdjustment spotDateOffset)
Sets the offset of the spot value date from the trade date, optional with defaulting getter.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutableIborFixingDepositConvention>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFixingDepositConvention>public ImmutableIborFixingDepositConvention.Builder set(String propertyName, Object newValue)
public ImmutableIborFixingDepositConvention.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutableIborFixingDepositConvention>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFixingDepositConvention>public ImmutableIborFixingDepositConvention build()
public ImmutableIborFixingDepositConvention.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'.
index - the new value, not nullpublic ImmutableIborFixingDepositConvention.Builder name(String name)
This will default to the name of the index if not specified.
name - the new valuepublic ImmutableIborFixingDepositConvention.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.
This will default to the currency of the index if not specified.
currency - the new valuepublic ImmutableIborFixingDepositConvention.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.
This will default to the day count of the index if not specified.
dayCount - the new valuepublic ImmutableIborFixingDepositConvention.Builder spotDateOffset(DaysAdjustment spotDateOffset)
The offset is applied to the trade date and is typically plus 2 business days. The start date of the deposit is equal to the spot date and the end date of the deposit is relative to the start date.
This will default to the effective date offset of the index if not specified.
spotDateOffset - the new valuepublic ImmutableIborFixingDepositConvention.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.
This will default to 'ModifiedFollowing' using the index fixing calendar if not specified.
businessDayAdjustment - the new valuepublic ImmutableIborFixingDepositConvention.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.
This will default to the fixing date offset of the index if not specified.
fixingDateOffset - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFixingDepositConvention>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.