public static final class ThreeLegBasisSwapTemplate.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ThreeLegBasisSwapTemplate>
ThreeLegBasisSwapTemplate.| Modifier and Type | Method and Description |
|---|---|
ThreeLegBasisSwapTemplate |
build() |
ThreeLegBasisSwapTemplate.Builder |
convention(ThreeLegBasisSwapConvention convention)
Sets the market convention of the swap.
|
Object |
get(String propertyName) |
ThreeLegBasisSwapTemplate.Builder |
periodToStart(Period periodToStart)
Sets the period between the spot value date and the start date.
|
ThreeLegBasisSwapTemplate.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ThreeLegBasisSwapTemplate.Builder |
set(String propertyName,
Object newValue) |
ThreeLegBasisSwapTemplate.Builder |
tenor(Tenor tenor)
Sets the tenor of the swap.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ThreeLegBasisSwapTemplate>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ThreeLegBasisSwapTemplate>public ThreeLegBasisSwapTemplate.Builder set(String propertyName, Object newValue)
public ThreeLegBasisSwapTemplate.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ThreeLegBasisSwapTemplate>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ThreeLegBasisSwapTemplate>public ThreeLegBasisSwapTemplate build()
public ThreeLegBasisSwapTemplate.Builder periodToStart(Period periodToStart)
This is often zero, but can be greater if the swap if forward starting. This must not be negative.
periodToStart - the new value, not nullpublic ThreeLegBasisSwapTemplate.Builder tenor(Tenor tenor)
This is the period from the first accrual date to the last accrual date.
tenor - the new value, not nullpublic ThreeLegBasisSwapTemplate.Builder convention(ThreeLegBasisSwapConvention convention)
convention - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ThreeLegBasisSwapTemplate>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.