public static final class IborRateStubCalculation.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborRateStubCalculation>
IborRateStubCalculation.| Modifier and Type | Method and Description |
|---|---|
IborRateStubCalculation |
build() |
IborRateStubCalculation.Builder |
fixedRate(Double fixedRate)
Sets the fixed rate to use in the stub.
|
Object |
get(String propertyName) |
IborRateStubCalculation.Builder |
index(IborIndex index)
Sets the Ibor index to be used for the stub.
|
IborRateStubCalculation.Builder |
indexInterpolated(IborIndex indexInterpolated)
Sets the second Ibor index to be used for the stub, linearly interpolated.
|
IborRateStubCalculation.Builder |
knownAmount(CurrencyAmount knownAmount)
Sets the known amount to pay/receive for the stub.
|
IborRateStubCalculation.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
IborRateStubCalculation.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<IborRateStubCalculation>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborRateStubCalculation>public IborRateStubCalculation.Builder set(String propertyName, Object newValue)
public IborRateStubCalculation.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<IborRateStubCalculation>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborRateStubCalculation>public IborRateStubCalculation build()
public IborRateStubCalculation.Builder fixedRate(Double fixedRate)
In certain circumstances two counterparties agree a fixed rate for the stub. It is used in place of an observed fixing. Other calculation elements, such as gearing or spread, still apply.
If the fixed rate is present, then knownAmount, index and
indexInterpolated must not be present.
fixedRate - the new valuepublic IborRateStubCalculation.Builder knownAmount(CurrencyAmount knownAmount)
If the known amount is present, then fixedRate, index and
indexInterpolated must not be present.
knownAmount - the new valuepublic IborRateStubCalculation.Builder index(IborIndex index)
This will be used throughout the stub unless indexInterpolated is present.
If the index is present, then fixedRate and knownAmount must not be present.
index - the new valuepublic IborRateStubCalculation.Builder indexInterpolated(IborIndex indexInterpolated)
This will be used with index to linearly interpolate the rate.
This index may be shorter or longer than index, but not the same.
If the interpolated index is present, then index must also be present,
and fixedRate and knownAmount must not be present.
indexInterpolated - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborRateStubCalculation>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.