public static final class FixedRateCalculation.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedRateCalculation>
FixedRateCalculation.| Modifier and Type | Method and Description |
|---|---|
FixedRateCalculation |
build() |
FixedRateCalculation.Builder |
dayCount(DayCount dayCount)
Sets the day count convention.
|
FixedRateCalculation.Builder |
finalStub(FixedRateStubCalculation finalStub)
Sets the final stub, optional.
|
FixedRateCalculation.Builder |
futureValueNotional(FutureValueNotional futureValueNotional)
Sets the future value notional.
|
Object |
get(String propertyName) |
FixedRateCalculation.Builder |
initialStub(FixedRateStubCalculation initialStub)
Sets the initial stub, optional.
|
FixedRateCalculation.Builder |
rate(ValueSchedule rate)
Sets the interest rate to be paid.
|
FixedRateCalculation.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
FixedRateCalculation.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<FixedRateCalculation>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedRateCalculation>public FixedRateCalculation.Builder set(String propertyName, Object newValue)
public FixedRateCalculation.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<FixedRateCalculation>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedRateCalculation>public FixedRateCalculation build()
public FixedRateCalculation.Builder dayCount(DayCount dayCount)
This is used to convert schedule period dates to a numerical value.
dayCount - the new value, not nullpublic FixedRateCalculation.Builder rate(ValueSchedule rate)
This defines the rate as an initial amount and a list of adjustments. The rate is only permitted to change at accrual period boundaries.
rate - the new value, not nullpublic FixedRateCalculation.Builder initialStub(FixedRateStubCalculation initialStub)
The initial stub of a swap may have a different rate from the regular accrual periods.
This property allows the stub rate to be specified, either as a known amount or a rate.
If this property is not present, then the rate derived from the rate property applies during the stub.
If this property is present and there is no initial stub, it is ignored.
initialStub - the new valuepublic FixedRateCalculation.Builder finalStub(FixedRateStubCalculation finalStub)
The final stub of a swap may have a different rate from the regular accrual periods.
This property allows the stub rate to be specified, either as a known amount or a rate.
If this property is not present, then the rate derived from the rate property applies during the stub.
If this property is present and there is no initial stub, it is ignored.
finalStub - the new valuepublic FixedRateCalculation.Builder futureValueNotional(FutureValueNotional futureValueNotional)
This property is used when the fixed leg of a swap has a future value notional. This is typically used for Brazilian swaps.
futureValueNotional - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedRateCalculation>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.