public static final class SplitEtdContractSpecId.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SplitEtdContractSpecId>
SplitEtdContractSpecId.| Modifier and Type | Method and Description |
|---|---|
SplitEtdContractSpecId |
build() |
SplitEtdContractSpecId.Builder |
contractCode(EtdContractCode contractCode)
Sets the code supplied by the exchange for use in clearing and margining, such as in SPAN.
|
SplitEtdContractSpecId.Builder |
exchangeId(ExchangeId exchangeId)
Sets the ID of the exchange where the instruments derived from the product are traded.
|
Object |
get(String propertyName) |
SplitEtdContractSpecId.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
SplitEtdContractSpecId.Builder |
set(String propertyName,
Object newValue) |
SplitEtdContractSpecId.Builder |
specId(EtdContractSpecId specId)
Sets the contract spec ID that was split.
|
String |
toString() |
SplitEtdContractSpecId.Builder |
type(EtdType type)
Sets the type of the contract - future or option.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<SplitEtdContractSpecId>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SplitEtdContractSpecId>public SplitEtdContractSpecId.Builder set(String propertyName, Object newValue)
public SplitEtdContractSpecId.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<SplitEtdContractSpecId>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SplitEtdContractSpecId>public SplitEtdContractSpecId build()
public SplitEtdContractSpecId.Builder specId(EtdContractSpecId specId)
specId - the new value, not nullpublic SplitEtdContractSpecId.Builder type(EtdType type)
type - the new value, not nullpublic SplitEtdContractSpecId.Builder exchangeId(ExchangeId exchangeId)
exchangeId - the new value, not nullpublic SplitEtdContractSpecId.Builder contractCode(EtdContractCode contractCode)
contractCode - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SplitEtdContractSpecId>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.