Class FixedInflationSwapTemplate.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedInflationSwapTemplate>
-
- com.opengamma.strata.product.swap.type.FixedInflationSwapTemplate.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<FixedInflationSwapTemplate>
- Enclosing class:
- FixedInflationSwapTemplate
public static final class FixedInflationSwapTemplate.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedInflationSwapTemplate>
The bean-builder forFixedInflationSwapTemplate
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FixedInflationSwapTemplate
build()
FixedInflationSwapTemplate.Builder
convention(FixedInflationSwapConvention convention)
Sets the market convention of the swap.Object
get(String propertyName)
FixedInflationSwapTemplate.Builder
set(String propertyName, Object newValue)
FixedInflationSwapTemplate.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
FixedInflationSwapTemplate.Builder
tenor(Tenor tenor)
Sets the tenor of the swap.String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<FixedInflationSwapTemplate>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedInflationSwapTemplate>
-
set
public FixedInflationSwapTemplate.Builder set(String propertyName, Object newValue)
-
set
public FixedInflationSwapTemplate.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<FixedInflationSwapTemplate>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedInflationSwapTemplate>
-
build
public FixedInflationSwapTemplate build()
-
tenor
public FixedInflationSwapTemplate.Builder tenor(Tenor tenor)
Sets the tenor of the swap.This is the period from the first accrual date to the last accrual date.
- Parameters:
tenor
- the new value, not null- Returns:
- this, for chaining, not null
-
convention
public FixedInflationSwapTemplate.Builder convention(FixedInflationSwapConvention convention)
Sets the market convention of the swap.- Parameters:
convention
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FixedInflationSwapTemplate>
-
-