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 ImmutableXCcyIborIborSwapConventionbuild()ImmutableXCcyIborIborSwapConvention.BuilderflatLeg(IborRateSwapLegConvention flatLeg)Sets the market convention of the floating leg that does not have the spread applied.Objectget(String propertyName)ImmutableXCcyIborIborSwapConvention.Buildername(String name)Sets the convention name, such as 'EUR-EURIBOR-3M-USD-LIBOR-3M'.ImmutableXCcyIborIborSwapConvention.Builderset(String propertyName, Object newValue)ImmutableXCcyIborIborSwapConvention.Builderset(org.joda.beans.MetaProperty<?> property, Object value)ImmutableXCcyIborIborSwapConvention.BuilderspotDateOffset(DaysAdjustment spotDateOffset)Sets the offset of the spot value date from the trade date.ImmutableXCcyIborIborSwapConvention.BuilderspreadLeg(IborRateSwapLegConvention spreadLeg)Sets the market convention of the floating leg that has the spread applied.StringtoString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
getin interfaceorg.joda.beans.BeanBuilder<ImmutableXCcyIborIborSwapConvention>- Overrides:
getin 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:
setin interfaceorg.joda.beans.BeanBuilder<ImmutableXCcyIborIborSwapConvention>- Overrides:
setin 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:
toStringin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableXCcyIborIborSwapConvention>
-
-