Class PriceSource.PriceSourceImpl

java.lang.Object
cdm.base.staticdata.asset.common.PriceSource.PriceSourceImpl
All Implemented Interfaces:
PriceSource, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
PriceSource

public static class PriceSource.PriceSourceImpl extends Object implements PriceSource
Immutable Implementation of PriceSource
  • Constructor Details

  • Method Details

    • getPricePublisher

      @RosettaAttribute(value="pricePublisher", isRequired=true) @RuneAttribute(value="pricePublisher", isRequired=true) public FieldWithMetaString getPricePublisher()
      Description copied from interface: PriceSource
      Defines a publication in which the price can be found. (e.g Gas Daily, Platts Bloomberg. Commodity publishers can be found at this URL: http://www.fpml.org/coding-scheme/commodity-information-provider>
      Specified by:
      getPricePublisher in interface PriceSource
    • getPriceSourceLocation

      @RosettaAttribute("priceSourceLocation") @RuneAttribute("priceSourceLocation") public String getPriceSourceLocation()
      Description copied from interface: PriceSource
      Specifies the location of the price which may be a specific page, electornic screen name, or a code (e.g. a RIC code) where the price can be found.
      Specified by:
      getPriceSourceLocation in interface PriceSource
    • getPriceSourceHeading

      @RosettaAttribute("priceSourceHeading") @RuneAttribute("priceSourceHeading") public String getPriceSourceHeading()
      Description copied from interface: PriceSource
      Specifies the heading or field name for the price on a given page or screen, where applicable.
      Specified by:
      getPriceSourceHeading in interface PriceSource
    • getPriceSourceTime

      @RosettaAttribute("priceSourceTime") @RuneAttribute("priceSourceTime") public LocalTime getPriceSourceTime()
      Description copied from interface: PriceSource
      Specifies the time at which the price should be observed.
      Specified by:
      getPriceSourceTime in interface PriceSource
    • build

      public PriceSource build()
      Description copied from interface: PriceSource
      Build Methods
      Specified by:
      build in interface PriceSource
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public PriceSource.PriceSourceBuilder toBuilder()
      Specified by:
      toBuilder in interface PriceSource
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(PriceSource.PriceSourceBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object