public static final class ImmutablePriceIndex.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutablePriceIndex>
ImmutablePriceIndex.| Modifier and Type | Method and Description |
|---|---|
ImmutablePriceIndex.Builder |
active(boolean active)
Sets whether the index is active, defaulted to true.
|
ImmutablePriceIndex |
build() |
ImmutablePriceIndex.Builder |
currency(Currency currency)
Sets the currency of the index.
|
Object |
get(String propertyName) |
ImmutablePriceIndex.Builder |
name(String name)
Sets the index name, such as 'GB-HICP'.
|
ImmutablePriceIndex.Builder |
publicationFrequency(Frequency publicationFrequency)
Sets the publication frequency of the index.
|
ImmutablePriceIndex.Builder |
region(Country region)
Sets the region of the index.
|
ImmutablePriceIndex.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
ImmutablePriceIndex.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<ImmutablePriceIndex>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutablePriceIndex>public ImmutablePriceIndex.Builder set(String propertyName, Object newValue)
public ImmutablePriceIndex.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<ImmutablePriceIndex>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutablePriceIndex>public ImmutablePriceIndex build()
public ImmutablePriceIndex.Builder name(String name)
name - the new value, not nullpublic ImmutablePriceIndex.Builder region(Country region)
region - the new value, not nullpublic ImmutablePriceIndex.Builder currency(Currency currency)
currency - the new value, not nullpublic ImmutablePriceIndex.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 ImmutablePriceIndex.Builder publicationFrequency(Frequency publicationFrequency)
publicationFrequency - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutablePriceIndex>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.