public final class SplitEtdContractSpecId extends Object implements org.joda.beans.ImmutableBean
| Modifier and Type | Class and Description |
|---|---|
static class |
SplitEtdContractSpecId.Builder
The bean-builder for
SplitEtdContractSpecId. |
| Modifier and Type | Method and Description |
|---|---|
static SplitEtdContractSpecId.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
static SplitEtdContractSpecId |
from(EtdContractSpecId specId)
Obtains an instance from a contract spec identifier.
|
EtdContractCode |
getContractCode()
Gets the code supplied by the exchange for use in clearing and margining, such as in SPAN.
|
ExchangeId |
getExchangeId()
Gets the ID of the exchange where the instruments derived from the product are traded.
|
EtdContractSpecId |
getSpecId()
Gets the contract spec ID that was split.
|
EtdType |
getType()
Gets the type of the contract - future or option.
|
int |
hashCode() |
static org.joda.beans.TypedMetaBean<SplitEtdContractSpecId> |
meta()
The meta-bean for
SplitEtdContractSpecId. |
org.joda.beans.TypedMetaBean<SplitEtdContractSpecId> |
metaBean() |
SplitEtdContractSpecId.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static SplitEtdContractSpecId from(EtdContractSpecId specId)
specId - the OG-ETD spec identifierIllegalArgumentException - if the identifier cannot be splitpublic static org.joda.beans.TypedMetaBean<SplitEtdContractSpecId> meta()
SplitEtdContractSpecId.public static SplitEtdContractSpecId.Builder builder()
public org.joda.beans.TypedMetaBean<SplitEtdContractSpecId> metaBean()
metaBean in interface org.joda.beans.Beanpublic EtdContractSpecId getSpecId()
public EtdType getType()
public ExchangeId getExchangeId()
public EtdContractCode getContractCode()
public SplitEtdContractSpecId.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.