public static final class ImmutableIborIndex.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborIndex>
ImmutableIborIndex.| Modifier and Type | Method and Description |
|---|---|
ImmutableIborIndex.Builder |
active(boolean active)
Sets whether the index is active, defaulted to true.
|
ImmutableIborIndex |
build() |
ImmutableIborIndex.Builder |
currency(Currency currency)
Sets the currency of the index.
|
ImmutableIborIndex.Builder |
dayCount(DayCount dayCount)
Sets the day count convention.
|
ImmutableIborIndex.Builder |
defaultFixedLegDayCount(DayCount defaultFixedLegDayCount)
Sets the default day count convention for the associated fixed leg.
|
ImmutableIborIndex.Builder |
effectiveDateOffset(DaysAdjustment effectiveDateOffset)
Sets the adjustment applied to the fixing date to obtain the effective date.
|
ImmutableIborIndex.Builder |
fixingCalendar(HolidayCalendarId fixingCalendar)
Sets the calendar that determines which dates are fixing dates.
|
ImmutableIborIndex.Builder |
fixingDateOffset(DaysAdjustment fixingDateOffset)
Sets the adjustment applied to the effective date to obtain the fixing date.
|
ImmutableIborIndex.Builder |
fixingTime(LocalTime fixingTime)
Sets the fixing time.
|
ImmutableIborIndex.Builder |
fixingZone(ZoneId fixingZone)
Sets the fixing time-zone.
|
Object |
get(String propertyName) |
ImmutableIborIndex.Builder |
maturityDateOffset(TenorAdjustment maturityDateOffset)
Sets the adjustment applied to the effective date to obtain the maturity date.
|
ImmutableIborIndex.Builder |
name(String name)
Sets the index name, such as 'GBP-LIBOR-3M'.
|
ImmutableIborIndex.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ImmutableIborIndex.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutableIborIndex>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborIndex>public ImmutableIborIndex.Builder set(String propertyName, Object newValue)
public ImmutableIborIndex.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutableIborIndex>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborIndex>public ImmutableIborIndex build()
public ImmutableIborIndex.Builder name(String name)
name - the new value, not nullpublic ImmutableIborIndex.Builder currency(Currency currency)
currency - the new value, not nullpublic ImmutableIborIndex.Builder active(boolean active)
Over time some indices become inactive and are no longer produced. If this occurs, this flag will be set to false.
active - the new valuepublic ImmutableIborIndex.Builder fixingCalendar(HolidayCalendarId fixingCalendar)
The fixing date is when the rate is determined.
fixingCalendar - the new value, not nullpublic ImmutableIborIndex.Builder fixingTime(LocalTime fixingTime)
The rate is fixed at the fixing time of the fixing date.
fixingTime - the new value, not nullpublic ImmutableIborIndex.Builder fixingZone(ZoneId fixingZone)
The time-zone of the fixing time.
fixingZone - the new value, not nullpublic ImmutableIborIndex.Builder fixingDateOffset(DaysAdjustment fixingDateOffset)
The fixing date is the date on which the index is to be observed. In most cases, the fixing date is 0 or 2 days before the effective date. This data structure allows the complex rules of some indices to be represented.
fixingDateOffset - the new value, not nullpublic ImmutableIborIndex.Builder effectiveDateOffset(DaysAdjustment effectiveDateOffset)
The effective date is the start date of the indexed deposit. In most cases, the effective date is 0 or 2 days after the fixing date. This data structure allows the complex rules of some indices to be represented.
effectiveDateOffset - the new value, not nullpublic ImmutableIborIndex.Builder maturityDateOffset(TenorAdjustment maturityDateOffset)
The maturity date is the end date of the indexed deposit and is relative to the effective date. This data structure allows the complex rules of some indices to be represented.
maturityDateOffset - the new value, not nullpublic ImmutableIborIndex.Builder dayCount(DayCount dayCount)
dayCount - the new value, not nullpublic ImmutableIborIndex.Builder defaultFixedLegDayCount(DayCount defaultFixedLegDayCount)
A rate index is often paid against a fixed leg, such as in a vanilla Swap. The day count convention of the fixed leg often differs from that of the index, and the default is value is available here.
defaultFixedLegDayCount - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborIndex>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.