Class CashPrice.CashPriceImpl

java.lang.Object
cdm.observable.asset.CashPrice.CashPriceImpl
All Implemented Interfaces:
CashPrice, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
CashPrice

public static class CashPrice.CashPriceImpl extends Object implements CashPrice
Immutable Implementation of CashPrice
  • Constructor Details

  • Method Details

    • getCashPriceType

      @RosettaAttribute(value="cashPriceType", isRequired=true) @RuneAttribute(value="cashPriceType", isRequired=true) public CashPriceTypeEnum getCashPriceType()
      Description copied from interface: CashPrice
      Specifies the type of Cash Price.
      Specified by:
      getCashPriceType in interface CashPrice
    • getPremiumExpression

      @RosettaAttribute("premiumExpression") @RuneAttribute("premiumExpression") public PremiumExpression getPremiumExpression()
      Description copied from interface: CashPrice
      Specifies a premium when expressed in a way other than an amount, and any required forward starting price definition.
      Specified by:
      getPremiumExpression in interface CashPrice
    • getFeeType

      @RosettaAttribute("feeType") @RuneAttribute("feeType") public FeeTypeEnum getFeeType()
      Description copied from interface: CashPrice
      Specifies the event type associated with a fee.
      Specified by:
      getFeeType in interface CashPrice
    • build

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

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

      protected void setBuilderFields(CashPrice.CashPriceBuilder 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