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