Package cdm.base.staticdata.asset.common
Class ListedDerivative.ListedDerivativeImpl
java.lang.Object
cdm.base.staticdata.asset.common.AssetBase.AssetBaseImpl
cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseImpl
cdm.base.staticdata.asset.common.ListedDerivative.ListedDerivativeImpl
- All Implemented Interfaces:
AssetBase,InstrumentBase,ListedDerivative,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
ListedDerivative
public static class ListedDerivative.ListedDerivativeImpl
extends InstrumentBase.InstrumentBaseImpl
implements ListedDerivative
Immutable Implementation of ListedDerivative
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.AssetBase
AssetBase.AssetBaseBuilder, AssetBase.AssetBaseBuilderImpl, AssetBase.AssetBaseImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
InstrumentBase.InstrumentBaseBuilder, InstrumentBase.InstrumentBaseBuilderImpl, InstrumentBase.InstrumentBaseImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.ListedDerivative
ListedDerivative.ListedDerivativeBuilder, ListedDerivative.ListedDerivativeBuilderImpl, ListedDerivative.ListedDerivativeImpl -
Field Summary
Fields inherited from interface cdm.base.staticdata.asset.common.InstrumentBase
metaDataFields inherited from interface cdm.base.staticdata.asset.common.ListedDerivative
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Methods inherited from class cdm.base.staticdata.asset.common.InstrumentBase.InstrumentBaseImpl
setBuilderFieldsMethods inherited from class cdm.base.staticdata.asset.common.AssetBase.AssetBaseImpl
getAssetType, getExchange, getIdentifier, getIsExchangeListed, getRelatedExchange, getTaxonomy, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.asset.common.AssetBase
getAssetType, getExchange, getIdentifier, getIsExchangeListed, getRelatedExchange, getTaxonomyMethods inherited from interface cdm.base.staticdata.asset.common.ListedDerivative
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ListedDerivativeImpl
-
-
Method Details
-
getDeliveryTerm
@RosettaAttribute("deliveryTerm") @Accessor(GETTER) @RuneAttribute("deliveryTerm") public String getDeliveryTerm()Description copied from interface:ListedDerivativeAlso called contract month or delivery month. However, it's not always a month. It is usually expressed using a code, e.g. Z23 would be the Dec 2023 contract, (Z = December). For crude oil, the corresponding contract might be called CLZ23. Optional as this can be uniquely identified in the identifier.- Specified by:
getDeliveryTermin interfaceListedDerivative
-
getOptionType
@RosettaAttribute("optionType") @Accessor(GETTER) @RuneAttribute("optionType") public PutCallEnum getOptionType()Description copied from interface:ListedDerivativeThe type of option, ie Put or Call. Left empty if it is a Future.- Specified by:
getOptionTypein interfaceListedDerivative
-
getStrike
@RosettaAttribute("strike") @Accessor(GETTER) @RuneAttribute("strike") public BigDecimal getStrike()Description copied from interface:ListedDerivativeSpecifies the strike of the option.- Specified by:
getStrikein interfaceListedDerivative
-
build
Description copied from interface:AssetBaseBuild Methods- Specified by:
buildin interfaceAssetBase- Specified by:
buildin interfaceInstrumentBase- Specified by:
buildin interfaceListedDerivative- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classInstrumentBase.InstrumentBaseImpl
-
toBuilder
- Specified by:
toBuilderin interfaceAssetBase- Specified by:
toBuilderin interfaceInstrumentBase- Specified by:
toBuilderin interfaceListedDerivative- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classInstrumentBase.InstrumentBaseImpl
-
setBuilderFields
-
equals
- Overrides:
equalsin classInstrumentBase.InstrumentBaseImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classInstrumentBase.InstrumentBaseImpl
-
toString
- Overrides:
toStringin classInstrumentBase.InstrumentBaseImpl
-