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