Class ImmutableXCcyIborIborSwapConvention.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableXCcyIborIborSwapConvention>
-
- com.opengamma.strata.product.swap.type.ImmutableXCcyIborIborSwapConvention.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<ImmutableXCcyIborIborSwapConvention>
- Enclosing class:
- ImmutableXCcyIborIborSwapConvention
public static final class ImmutableXCcyIborIborSwapConvention.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableXCcyIborIborSwapConvention>
The bean-builder forImmutableXCcyIborIborSwapConvention
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableXCcyIborIborSwapConvention
build()
ImmutableXCcyIborIborSwapConvention.Builder
flatLeg(IborRateSwapLegConvention flatLeg)
Sets the market convention of the floating leg that does not have the spread applied.Object
get(String propertyName)
ImmutableXCcyIborIborSwapConvention.Builder
name(String name)
Sets the convention name, such as 'EUR-EURIBOR-3M-USD-LIBOR-3M'.ImmutableXCcyIborIborSwapConvention.Builder
set(String propertyName, Object newValue)
ImmutableXCcyIborIborSwapConvention.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
ImmutableXCcyIborIborSwapConvention.Builder
spotDateOffset(DaysAdjustment spotDateOffset)
Sets the offset of the spot value date from the trade date.ImmutableXCcyIborIborSwapConvention.Builder
spreadLeg(IborRateSwapLegConvention spreadLeg)
Sets the market convention of the floating leg that has the spread applied.String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<ImmutableXCcyIborIborSwapConvention>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableXCcyIborIborSwapConvention>
-
set
public ImmutableXCcyIborIborSwapConvention.Builder set(String propertyName, Object newValue)
-
set
public ImmutableXCcyIborIborSwapConvention.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<ImmutableXCcyIborIborSwapConvention>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableXCcyIborIborSwapConvention>
-
build
public ImmutableXCcyIborIborSwapConvention build()
-
name
public ImmutableXCcyIborIborSwapConvention.Builder name(String name)
Sets the convention name, such as 'EUR-EURIBOR-3M-USD-LIBOR-3M'.- Parameters:
name
- the new value, not null- Returns:
- this, for chaining, not null
-
spreadLeg
public ImmutableXCcyIborIborSwapConvention.Builder spreadLeg(IborRateSwapLegConvention spreadLeg)
Sets the market convention of the floating leg that has the spread applied.The spread is the market price of the instrument. It is added to the observed interest rate.
- Parameters:
spreadLeg
- the new value, not null- Returns:
- this, for chaining, not null
-
flatLeg
public ImmutableXCcyIborIborSwapConvention.Builder flatLeg(IborRateSwapLegConvention flatLeg)
Sets the market convention of the floating leg that does not have the spread applied.- Parameters:
flatLeg
- the new value, not null- Returns:
- this, for chaining, not null
-
spotDateOffset
public ImmutableXCcyIborIborSwapConvention.Builder spotDateOffset(DaysAdjustment spotDateOffset)
Sets the offset of the spot value date from the trade date.The offset is applied to the trade date to find the start date. A typical value is "plus 2 business days".
- Parameters:
spotDateOffset
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableXCcyIborIborSwapConvention>
-
-