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