public static final class ImmutableFixedOvernightSwapConvention.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableFixedOvernightSwapConvention>
ImmutableFixedOvernightSwapConvention.| Modifier and Type | Method and Description |
|---|---|
ImmutableFixedOvernightSwapConvention |
build() |
ImmutableFixedOvernightSwapConvention.Builder |
fixedLeg(FixedRateSwapLegConvention fixedLeg)
Sets the market convention of the fixed leg.
|
ImmutableFixedOvernightSwapConvention.Builder |
floatingLeg(OvernightRateSwapLegConvention floatingLeg)
Sets the market convention of the floating leg.
|
Object |
get(String propertyName) |
ImmutableFixedOvernightSwapConvention.Builder |
name(String name)
Sets the convention name, such as 'USD-FIXED-TERM-FED-FUND-OIS'.
|
ImmutableFixedOvernightSwapConvention.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ImmutableFixedOvernightSwapConvention.Builder |
set(String propertyName,
Object newValue) |
ImmutableFixedOvernightSwapConvention.Builder |
spotDateOffset(DaysAdjustment spotDateOffset)
Sets the offset of the spot value date from the trade date.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutableFixedOvernightSwapConvention>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableFixedOvernightSwapConvention>public ImmutableFixedOvernightSwapConvention.Builder set(String propertyName, Object newValue)
public ImmutableFixedOvernightSwapConvention.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutableFixedOvernightSwapConvention>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableFixedOvernightSwapConvention>public ImmutableFixedOvernightSwapConvention build()
public ImmutableFixedOvernightSwapConvention.Builder name(String name)
name - the new value, not nullpublic ImmutableFixedOvernightSwapConvention.Builder fixedLeg(FixedRateSwapLegConvention fixedLeg)
fixedLeg - the new value, not nullpublic ImmutableFixedOvernightSwapConvention.Builder floatingLeg(OvernightRateSwapLegConvention floatingLeg)
floatingLeg - the new value, not nullpublic ImmutableFixedOvernightSwapConvention.Builder spotDateOffset(DaysAdjustment spotDateOffset)
The offset is applied to the trade date to find the start date. A typical value is "plus 2 business days".
spotDateOffset - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableFixedOvernightSwapConvention>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.