public static final class SwapIsdaCreditCurveNode.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SwapIsdaCreditCurveNode>
SwapIsdaCreditCurveNode.| Modifier and Type | Method and Description |
|---|---|
SwapIsdaCreditCurveNode |
build() |
SwapIsdaCreditCurveNode.Builder |
businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
Sets the business day adjustment to apply to the start date, end date and accrual schedule.
|
SwapIsdaCreditCurveNode.Builder |
dayCount(DayCount dayCount)
Sets the day count convention applicable.
|
Object |
get(String propertyName) |
SwapIsdaCreditCurveNode.Builder |
label(String label)
Sets the label to use for the node, defaulted.
|
SwapIsdaCreditCurveNode.Builder |
observableId(ObservableId observableId)
Sets the identifier of the market data value that provides the rate.
|
SwapIsdaCreditCurveNode.Builder |
paymentFrequency(Frequency paymentFrequency)
Sets the periodic frequency of payments, optional with defaulting getter.
|
SwapIsdaCreditCurveNode.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
SwapIsdaCreditCurveNode.Builder |
set(String propertyName,
Object newValue) |
SwapIsdaCreditCurveNode.Builder |
spotDateOffset(DaysAdjustment spotDateOffset)
Sets the offset of the start date from the trade date.
|
SwapIsdaCreditCurveNode.Builder |
tenor(Tenor tenor)
Sets the tenor of the swap.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<SwapIsdaCreditCurveNode>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SwapIsdaCreditCurveNode>public SwapIsdaCreditCurveNode.Builder set(String propertyName, Object newValue)
public SwapIsdaCreditCurveNode.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<SwapIsdaCreditCurveNode>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SwapIsdaCreditCurveNode>public SwapIsdaCreditCurveNode build()
public SwapIsdaCreditCurveNode.Builder label(String label)
When building, this will default based on the tenor if not specified.
label - the new value, not emptypublic SwapIsdaCreditCurveNode.Builder observableId(ObservableId observableId)
observableId - the new value, not nullpublic SwapIsdaCreditCurveNode.Builder tenor(Tenor tenor)
This is the period from the first accrual date to the last accrual date.
tenor - the new value, not nullpublic SwapIsdaCreditCurveNode.Builder spotDateOffset(DaysAdjustment spotDateOffset)
The offset is applied to the trade date and is typically plus 2 business days.
spotDateOffset - the new value, not nullpublic SwapIsdaCreditCurveNode.Builder businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
The date property is an unadjusted date and as such might be a weekend or holiday. The adjustment specified here is used to convert a relevant date to a valid business day.
businessDayAdjustment - the new value, not nullpublic SwapIsdaCreditCurveNode.Builder dayCount(DayCount dayCount)
This is used to convert schedule period dates to a numerical value.
dayCount - the new value, not nullpublic SwapIsdaCreditCurveNode.Builder paymentFrequency(Frequency paymentFrequency)
Regular payments will be made at the specified periodic frequency. The compounding is not allowed in this node. Thus the frequency is the same as the accrual periodic frequency.
paymentFrequency - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SwapIsdaCreditCurveNode>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.