Package com.opengamma.strata.product.etd
Class EtdContractCode
- java.lang.Object
-
- com.opengamma.strata.collect.TypedString<EtdContractCode>
-
- com.opengamma.strata.product.etd.EtdContractCode
-
- All Implemented Interfaces:
Named
,Serializable
,Comparable<EtdContractCode>
public final class EtdContractCode extends TypedString<EtdContractCode>
The contract code for an Exchange Traded Derivative (ETD).This is the code supplied by the exchange for use in clearing and margining, such as in SPAN.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EtdContractCode
of(String name)
Obtains an instance from the specified name.
-
-
-
Method Detail
-
of
public static EtdContractCode of(String name)
Obtains an instance from the specified name.The name may contain any character, but must not be empty.
- Parameters:
name
- the name- Returns:
- a type instance with the specified name
-
-