Package cdm.base.staticdata.asset.common
Class Commodity.CommodityImpl
java.lang.Object
cdm.base.staticdata.asset.common.AssetBase.AssetBaseImpl
cdm.base.staticdata.asset.common.Commodity.CommodityImpl
- Enclosing interface:
Commodity
Immutable Implementation of Commodity
-
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.Commodity
Commodity.CommodityBuilder, Commodity.CommodityBuilderImpl, Commodity.CommodityImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanSpecifies the commodity underlier in the event that no ISDA Commodity Reference Benchmark exists.Specifies the parameters for identifying the relevant contract date when the commodity reference price is a futures contract.Provides additional information about the commodity underlier.Describes the required quote type of the underlying price that will be observed.inthashCode()protected voidtoString()Methods inherited from class cdm.base.staticdata.asset.common.AssetBase.AssetBaseImpl
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
getExchange, getIdentifier, getIsExchangeListed, getRelatedExchange, getTaxonomyMethods inherited from interface cdm.base.staticdata.asset.common.Commodity
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CommodityImpl
-
-
Method Details
-
getCommodityProductDefinition
@RosettaAttribute("commodityProductDefinition") @Accessor(GETTER) @RuneAttribute("commodityProductDefinition") public CommodityProductDefinition getCommodityProductDefinition()Description copied from interface:CommoditySpecifies the commodity underlier in the event that no ISDA Commodity Reference Benchmark exists.- Specified by:
getCommodityProductDefinitionin interfaceCommodity
-
getPriceQuoteType
@RosettaAttribute("priceQuoteType") @Accessor(GETTER) @Required @RuneAttribute("priceQuoteType") public QuotationSideEnum getPriceQuoteType()Description copied from interface:CommodityDescribes the required quote type of the underlying price that will be observed. Example values include 'Bid, 'Ask', 'Settlement' (for a futures contract) and 'WeightedAverage' (for some published prices and indices).- Specified by:
getPriceQuoteTypein interfaceCommodity
-
getDeliveryDateReference
@RosettaAttribute("deliveryDateReference") @Accessor(GETTER) @RuneAttribute("deliveryDateReference") public DeliveryDateParameters getDeliveryDateReference()Description copied from interface:CommoditySpecifies the parameters for identifying the relevant contract date when the commodity reference price is a futures contract.- Specified by:
getDeliveryDateReferencein interfaceCommodity
-
getDescription
@RosettaAttribute("description") @Accessor(GETTER) @RuneAttribute("description") public String getDescription()Description copied from interface:CommodityProvides additional information about the commodity underlier.- Specified by:
getDescriptionin interfaceCommodity
-
build
Description copied from interface:AssetBaseBuild Methods -
toBuilder
-
setBuilderFields
-
equals
- Overrides:
equalsin classAssetBase.AssetBaseImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classAssetBase.AssetBaseImpl
-
toString
- Overrides:
toStringin classAssetBase.AssetBaseImpl
-