public static final class OvernightAveragedDailyRateComputation.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightAveragedDailyRateComputation>
OvernightAveragedDailyRateComputation.| Modifier and Type | Method and Description |
|---|---|
OvernightAveragedDailyRateComputation |
build() |
OvernightAveragedDailyRateComputation.Builder |
endDate(LocalDate endDate)
Sets the end date of the accrual period.
|
OvernightAveragedDailyRateComputation.Builder |
fixingCalendar(HolidayCalendar fixingCalendar)
Sets the resolved calendar that the index uses.
|
Object |
get(String propertyName) |
OvernightAveragedDailyRateComputation.Builder |
index(OvernightIndex index)
Sets the Overnight index.
|
OvernightAveragedDailyRateComputation.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
OvernightAveragedDailyRateComputation.Builder |
set(String propertyName,
Object newValue) |
OvernightAveragedDailyRateComputation.Builder |
startDate(LocalDate startDate)
Sets the start date of the accrual period.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<OvernightAveragedDailyRateComputation>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightAveragedDailyRateComputation>public OvernightAveragedDailyRateComputation.Builder set(String propertyName, Object newValue)
public OvernightAveragedDailyRateComputation.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<OvernightAveragedDailyRateComputation>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightAveragedDailyRateComputation>public OvernightAveragedDailyRateComputation build()
public OvernightAveragedDailyRateComputation.Builder index(OvernightIndex index)
The rate to be paid is based on this index. It will be a well known market index such as 'GBP-SONIA'.
index - the new value, not nullpublic OvernightAveragedDailyRateComputation.Builder fixingCalendar(HolidayCalendar fixingCalendar)
fixingCalendar - the new value, not nullpublic OvernightAveragedDailyRateComputation.Builder startDate(LocalDate startDate)
This is not necessarily a valid business day.
In this case, the first fixing date is the previous business day of the start date on fixingCalendar.
startDate - the new value, not nullpublic OvernightAveragedDailyRateComputation.Builder endDate(LocalDate endDate)
This is not necessarily a valid business day.
In this case, the last fixing date is the previous business day of the end date on fixingCalendar.
endDate - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<OvernightAveragedDailyRateComputation>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.