public static final class ImmutableSwapIndex.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableSwapIndex>
ImmutableSwapIndex.| Modifier and Type | Method and Description |
|---|---|
ImmutableSwapIndex.Builder |
active(boolean active)
Sets whether the index is active, defaulted to true.
|
ImmutableSwapIndex |
build() |
ImmutableSwapIndex.Builder |
fixingTime(LocalTime fixingTime)
Sets the fixing time.
|
ImmutableSwapIndex.Builder |
fixingZone(ZoneId fixingZone)
Sets the time-zone of the fixing time.
|
Object |
get(String propertyName) |
ImmutableSwapIndex.Builder |
name(String name)
Sets the index name.
|
ImmutableSwapIndex.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ImmutableSwapIndex.Builder |
set(String propertyName,
Object newValue) |
ImmutableSwapIndex.Builder |
template(FixedFloatSwapTemplate template)
Sets the template for creating a Fixed-Ibor or Fixed-Overnight swap.
|
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutableSwapIndex>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableSwapIndex>public ImmutableSwapIndex.Builder set(String propertyName, Object newValue)
public ImmutableSwapIndex.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutableSwapIndex>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableSwapIndex>public ImmutableSwapIndex build()
public ImmutableSwapIndex.Builder name(String name)
name - the new value, not emptypublic ImmutableSwapIndex.Builder active(boolean active)
Over time some indices become inactive and are no longer produced. If this occurs, this flag will be set to false.
active - the new valuepublic ImmutableSwapIndex.Builder fixingTime(LocalTime fixingTime)
fixingTime - the new value, not nullpublic ImmutableSwapIndex.Builder fixingZone(ZoneId fixingZone)
fixingZone - the new value, not nullpublic ImmutableSwapIndex.Builder template(FixedFloatSwapTemplate template)
template - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableSwapIndex>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.