Class OptionStrike.OptionStrikeImpl

java.lang.Object
cdm.product.template.OptionStrike.OptionStrikeImpl
All Implemented Interfaces:
OptionStrike, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
OptionStrike

public static class OptionStrike.OptionStrikeImpl extends Object implements OptionStrike
Immutable Implementation of OptionStrike
  • Constructor Details

  • Method Details

    • getStrikePrice

      @RosettaAttribute("strikePrice") @RuneAttribute("strikePrice") public Price getStrikePrice()
      Description copied from interface: OptionStrike
      Defines the strike of an option in the form of a price that could be a cash price, interestRate, or other types.
      Specified by:
      getStrikePrice in interface OptionStrike
    • getStrikeReference

      @RosettaAttribute("strikeReference") @RuneAttribute("strikeReference") public ReferenceWithMetaFixedRateSpecification getStrikeReference()
      Description copied from interface: OptionStrike
      Defines the strike of an option in reference to the spread of the underlying swap (typical practice in the case of an option on a credit single name swaps).
      Specified by:
      getStrikeReference in interface OptionStrike
    • getReferenceSwapCurve

      @RosettaAttribute("referenceSwapCurve") @RuneAttribute("referenceSwapCurve") public ReferenceSwapCurve getReferenceSwapCurve()
      Description copied from interface: OptionStrike
      Defines the strike of an option when expressed by reference to a swap curve (Typically the case for a convertible bond option).
      Specified by:
      getReferenceSwapCurve in interface OptionStrike
    • getAveragingStrikeFeature

      @RosettaAttribute("averagingStrikeFeature") @RuneAttribute("averagingStrikeFeature") public AveragingStrikeFeature getAveragingStrikeFeature()
      Description copied from interface: OptionStrike
      Defines an option strike that is calculated from an average of observed market prices.
      Specified by:
      getAveragingStrikeFeature in interface OptionStrike
    • build

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

      Specified by:
      toBuilder in interface OptionStrike
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(OptionStrike.OptionStrikeBuilder 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