Interface Commodity

All Superinterfaces:
Listing, ProductBase, com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
Commodity.CommodityBuilder
All Known Implementing Classes:
Commodity.CommodityBuilderImpl, Commodity.CommodityImpl

@RosettaDataType(value="Commodity", builder=CommodityBuilderImpl.class, version="5.30.0") @RuneDataType(value="Commodity", model="cdm", builder=CommodityBuilderImpl.class, version="5.30.0") public interface Commodity extends Listing
Identifies a specific commodity by referencing a product identifier or by a product definition.
Version:
5.30.0
  • Field Details

  • Method Details

    • getCommodityProductDefinition

      CommodityProductDefinition getCommodityProductDefinition()
      Specifies the commodity underlier in the event that no ISDA Commodity Reference Benchmark exists.
    • getPriceQuoteType

      QuotationSideEnum getPriceQuoteType()
      Describes 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).
    • getDeliveryDateReference

      DeliveryDateParameters getDeliveryDateReference()
      Specifies the parameters for identifying the relevant contract date when the commodity reference price is a futures contract.
    • getDescription

      String getDescription()
      Provides additional information about the commodity underlier.
    • build

      Commodity build()
      Build Methods
      Specified by:
      build in interface Listing
      Specified by:
      build in interface ProductBase
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface Listing
      Specified by:
      toBuilder in interface ProductBase
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

      static Commodity.CommodityBuilder builder()
    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends Commodity> metaData()
      Utility Methods
      Specified by:
      metaData in interface Listing
      Specified by:
      metaData in interface ProductBase
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends Commodity> getType()
      Specified by:
      getType in interface Listing
      Specified by:
      getType in interface ProductBase
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface Listing
      Specified by:
      process in interface ProductBase
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject