public static final class IborAveragedFixing.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborAveragedFixing>
IborAveragedFixing.| Modifier and Type | Method and Description |
|---|---|
IborAveragedFixing |
build() |
IborAveragedFixing.Builder |
fixedRate(Double fixedRate)
Sets the fixed rate for the fixing date, optional.
|
Object |
get(String propertyName) |
IborAveragedFixing.Builder |
observation(IborIndexObservation observation)
Sets the Ibor index observation to use to determine a rate for the reset period.
|
IborAveragedFixing.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
IborAveragedFixing.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
IborAveragedFixing.Builder |
weight(double weight)
Sets the weight to apply to this fixing.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<IborAveragedFixing>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborAveragedFixing>public IborAveragedFixing.Builder set(String propertyName, Object newValue)
public IborAveragedFixing.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<IborAveragedFixing>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborAveragedFixing>public IborAveragedFixing build()
public IborAveragedFixing.Builder observation(IborIndexObservation observation)
observation - the new value, not nullpublic IborAveragedFixing.Builder fixedRate(Double fixedRate)
In certain circumstances two counterparties agree the rate of a fixing when the contract starts. It is used in place of an observed fixing. Other calculation elements, such as gearing or spread, still apply.
If the value not present, which is the normal case, then the rate is observed via the normal fixing process.
fixedRate - the new valuepublic IborAveragedFixing.Builder weight(double weight)
If the averaging is unweighted, then all weights must be one.
weight - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborAveragedFixing>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.