Class ImmutableIborFutureConvention.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureConvention>
-
- com.opengamma.strata.product.index.type.ImmutableIborFutureConvention.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<ImmutableIborFutureConvention>
- Enclosing class:
- ImmutableIborFutureConvention
public static final class ImmutableIborFutureConvention.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureConvention>
The bean-builder forImmutableIborFutureConvention.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIborFutureConventionbuild()ImmutableIborFutureConvention.BuilderbusinessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)Sets the business day adjustment to apply to the reference date.ImmutableIborFutureConvention.BuilderdateSequence(DateSequence dateSequence)Sets the sequence of dates that the future is based on.Objectget(String propertyName)ImmutableIborFutureConvention.Builderindex(IborIndex index)Sets the Ibor index.ImmutableIborFutureConvention.Buildername(String name)Sets the convention name, such as 'USD-LIBOR-3M-Quarterly-IMM'.ImmutableIborFutureConvention.Builderset(String propertyName, Object newValue)ImmutableIborFutureConvention.Builderset(org.joda.beans.MetaProperty<?> property, Object value)StringtoString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
getin interfaceorg.joda.beans.BeanBuilder<ImmutableIborFutureConvention>- Overrides:
getin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureConvention>
-
set
public ImmutableIborFutureConvention.Builder set(String propertyName, Object newValue)
-
set
public ImmutableIborFutureConvention.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
setin interfaceorg.joda.beans.BeanBuilder<ImmutableIborFutureConvention>- Overrides:
setin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureConvention>
-
build
public ImmutableIborFutureConvention build()
-
index
public ImmutableIborFutureConvention.Builder index(IborIndex index)
Sets the Ibor index.The floating rate to be paid is based on this index It will be a well known market index such as 'GBP-LIBOR-3M'.
- Parameters:
index- the new value, not null- Returns:
- this, for chaining, not null
-
name
public ImmutableIborFutureConvention.Builder name(String name)
Sets the convention name, such as 'USD-LIBOR-3M-Quarterly-IMM'.This will default to the name of the index suffixed by the name of the date sequence if not specified.
- Parameters:
name- the new value, not null- Returns:
- this, for chaining, not null
-
dateSequence
public ImmutableIborFutureConvention.Builder dateSequence(DateSequence dateSequence)
Sets the sequence of dates that the future is based on.This is used to calculate the reference date of the future that is the start date of the underlying synthetic deposit.
- Parameters:
dateSequence- the new value, not null- Returns:
- this, for chaining, not null
-
businessDayAdjustment
public ImmutableIborFutureConvention.Builder businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
Sets the business day adjustment to apply to the reference date.The reference date, which is often the third Wednesday of the month, will be adjusted as defined here.
- Parameters:
businessDayAdjustment- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toStringin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureConvention>
-
-