public static final class ImmutableIborFutureContractSpec.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureContractSpec>
ImmutableIborFutureContractSpec.| Modifier and Type | Method and Description |
|---|---|
ImmutableIborFutureContractSpec |
build() |
ImmutableIborFutureContractSpec.Builder |
businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
Sets the business day adjustment to apply to the reference date.
|
ImmutableIborFutureContractSpec.Builder |
dateSequence(DateSequence dateSequence)
Sets the sequence of dates that the future is based on.
|
Object |
get(String propertyName) |
ImmutableIborFutureContractSpec.Builder |
index(IborIndex index)
Sets the Ibor index.
|
ImmutableIborFutureContractSpec.Builder |
name(String name)
Sets the name, such as 'USD-LIBOR-3M-IMM-CME'.
|
ImmutableIborFutureContractSpec.Builder |
notional(double notional)
Sets the notional deposit that the contract models.
|
ImmutableIborFutureContractSpec.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ImmutableIborFutureContractSpec.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutableIborFutureContractSpec>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureContractSpec>public ImmutableIborFutureContractSpec.Builder set(String propertyName, Object newValue)
public ImmutableIborFutureContractSpec.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutableIborFutureContractSpec>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureContractSpec>public ImmutableIborFutureContractSpec build()
public ImmutableIborFutureContractSpec.Builder name(String name)
name - the new value, not blankpublic ImmutableIborFutureContractSpec.Builder index(IborIndex 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'.
index - the new value, not nullpublic ImmutableIborFutureContractSpec.Builder dateSequence(DateSequence dateSequence)
This is used to calculate the reference date of the future that is the start date of the underlying synthetic deposit.
dateSequence - the new value, not nullpublic ImmutableIborFutureContractSpec.Builder businessDayAdjustment(BusinessDayAdjustment businessDayAdjustment)
The reference date, which is often the third Wednesday of the month, will be adjusted as defined here.
businessDayAdjustment - the new value, not nullpublic ImmutableIborFutureContractSpec.Builder notional(double notional)
This is the full notional of the deposit, such as 1 million dollars. The notional expressed here must be positive. The currency of the notional is specified by the index.
notional - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableIborFutureContractSpec>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.