Package cdm.base.staticdata.asset.common
Class Commodity.CommodityImpl
java.lang.Object
cdm.base.staticdata.asset.common.ProductBase.ProductBaseImpl
cdm.base.staticdata.asset.common.Listing.ListingImpl
cdm.base.staticdata.asset.common.Commodity.CommodityImpl
- All Implemented Interfaces:
Commodity,Listing,ProductBase,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
Commodity
Immutable Implementation of Commodity
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.Commodity
Commodity.CommodityBuilder, Commodity.CommodityBuilderImpl, Commodity.CommodityImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.Listing
Listing.ListingBuilder, Listing.ListingBuilderImpl, Listing.ListingImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.ProductBase
ProductBase.ProductBaseBuilder, ProductBase.ProductBaseBuilderImpl, ProductBase.ProductBaseImpl -
Field Summary
Fields inherited from interface cdm.base.staticdata.asset.common.ProductBase
metaData -
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.Listing.ListingImpl
getExchange, getRelatedExchange, setBuilderFieldsMethods inherited from class cdm.base.staticdata.asset.common.ProductBase.ProductBaseImpl
getProductIdentifier, getProductTaxonomy, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.asset.common.Commodity
getType, metaData, processMethods inherited from interface cdm.base.staticdata.asset.common.Listing
getExchange, getRelatedExchangeMethods inherited from interface cdm.base.staticdata.asset.common.ProductBase
getProductIdentifier, getProductTaxonomyMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CommodityImpl
-
-
Method Details
-
getCommodityProductDefinition
@RosettaAttribute("commodityProductDefinition") @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(value="priceQuoteType", isRequired=true) @RuneAttribute(value="priceQuoteType", isRequired=true) 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") @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
Description copied from interface:CommodityProvides additional information about the commodity underlier.- Specified by:
getDescriptionin interfaceCommodity
-
build
Description copied from interface:ProductBaseBuild Methods- Specified by:
buildin interfaceCommodity- Specified by:
buildin interfaceListing- Specified by:
buildin interfaceProductBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classListing.ListingImpl
-
toBuilder
- Specified by:
toBuilderin interfaceCommodity- Specified by:
toBuilderin interfaceListing- Specified by:
toBuilderin interfaceProductBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classListing.ListingImpl
-
setBuilderFields
-
equals
- Overrides:
equalsin classListing.ListingImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classListing.ListingImpl
-
toString
- Overrides:
toStringin classListing.ListingImpl
-