public static final class ResolvedCapitalIndexedBond.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedCapitalIndexedBond>
ResolvedCapitalIndexedBond.public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ResolvedCapitalIndexedBond>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedCapitalIndexedBond>public ResolvedCapitalIndexedBond.Builder set(String propertyName, Object newValue)
public ResolvedCapitalIndexedBond.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ResolvedCapitalIndexedBond>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedCapitalIndexedBond>public ResolvedCapitalIndexedBond build()
public ResolvedCapitalIndexedBond.Builder securityId(SecurityId securityId)
This identifier uniquely identifies the security within the system.
securityId - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder nominalPayment(CapitalIndexedBondPaymentPeriod nominalPayment)
The payment date of the nominal payment agrees with the final coupon payment date of the periodic payments.
nominalPayment - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder periodicPayments(List<CapitalIndexedBondPaymentPeriod> periodicPayments)
Each payment period represents part of the life-time of the product. The start date and end date of the leg are determined from the first and last period. As such, the periods should be sorted.
periodicPayments - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder periodicPayments(CapitalIndexedBondPaymentPeriod... periodicPayments)
periodicPayments property in the builder
from an array of objects.periodicPayments - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder frequency(Frequency frequency)
This must match the frequency used to generate the payment schedule.
frequency - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder rollConvention(RollConvention rollConvention)
This must match the convention used to generate the payment schedule.
rollConvention - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder dayCount(DayCount dayCount)
The conversion from dates to a numerical value is made based on this day count. For the inflation-indexed bond, the day count convention is used to compute accrued interest.
dayCount - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder yieldConvention(CapitalIndexedBondYieldConvention yieldConvention)
The convention defines how to convert from yield to price and inversely.
yieldConvention - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder legalEntityId(LegalEntityId legalEntityId)
This identifier is used for the legal entity that issues the bond.
legalEntityId - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder settlementDateOffset(DaysAdjustment settlementDateOffset)
This is used to compute clean price. The clean price is the relative price to be paid at the standard settlement date in exchange for the bond.
settlementDateOffset - the new value, not nullpublic ResolvedCapitalIndexedBond.Builder rateCalculation(InflationRateCalculation rateCalculation)
The reference index is interpolated index or monthly index.
Real coupons are represented by gearing in the calculation.
The price index value at the start of the bond is represented by firstIndexValue in the calculation.
rateCalculation - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ResolvedCapitalIndexedBond>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.