public final class ProductType extends TypedString<ProductType> implements Described
This provides a classification of the trade or position.
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the human-readable description of the type.
|
static ProductType |
of(String name)
Obtains an instance from the specified name.
|
static ProductType |
of(String name,
String description)
Obtains an instance from the specified name.
|
compareTo, equals, getName, hashCode, toStringpublic static final ProductType BULLET_PAYMENT
public static final ProductType BILL
Bill.public static final ProductType BOND
public static final ProductType BOND_FUTURE
BondFuture.public static final ProductType BOND_FUTURE_OPTION
public static final ProductType CDS
Cds.public static final ProductType CDS_INDEX
CdsIndex.public static final ProductType CMS
Cms.public static final ProductType DSF
Dsf.public static final ProductType FRA
Fra.public static final ProductType FX_NDF
FxNdf.public static final ProductType FX_SINGLE_BARRIER_OPTION
public static final ProductType FX_SINGLE
FxSingle.public static final ProductType FX_SWAP
FxSwap.public static final ProductType FX_VANILLA_OPTION
public static final ProductType IBOR_CAP_FLOOR
IborCapFloor.public static final ProductType IBOR_FUTURE
IborFuture.public static final ProductType IBOR_FUTURE_OPTION
public static final ProductType OVERNIGHT_FUTURE
public static final ProductType OVERNIGHT_FUTURE_OPTION
public static final ProductType SENSITIVITIES
public static final ProductType SWAP
Swap.public static final ProductType SWAPTION
Swaption.public static final ProductType TERM_DEPOSIT
TermDeposit.public static final ProductType ETD_FUTURE
public static final ProductType ETD_OPTION
public static final ProductType SECURITY
Security, used where the kind of security is not known.public static final ProductType CALIBRATION
public static final ProductType OTHER
public static ProductType of(String name)
The name may contain any character, but must not be empty.
name - the namepublic static ProductType of(String name, String description)
The name may contain any character, but must not be empty.
name - the namedescription - the descriptionpublic String getDescription()
getDescription in interface DescribedCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.