Class OptionFeature.OptionFeatureImpl

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

public static class OptionFeature.OptionFeatureImpl extends Object implements OptionFeature
Immutable Implementation of OptionFeature
  • Constructor Details

  • Method Details

    • getFxFeature

      @RosettaAttribute("fxFeature") @Accessor(GETTER) @Multi @RuneAttribute("fxFeature") public List<? extends FxFeature> getFxFeature()
      Description copied from interface: OptionFeature
      Describes a quanto or composite FX feature.
      Specified by:
      getFxFeature in interface OptionFeature
    • getStrategyFeature

      @RosettaAttribute("strategyFeature") @Accessor(GETTER) @RuneAttribute("strategyFeature") public StrategyFeature getStrategyFeature()
      Description copied from interface: OptionFeature
      Defines a simple strategy feature.
      Specified by:
      getStrategyFeature in interface OptionFeature
    • getAveragingFeature

      @RosettaAttribute("averagingFeature") @Accessor(GETTER) @RuneAttribute("averagingFeature") public AveragingCalculation getAveragingFeature()
      Description copied from interface: OptionFeature
      Defines an option feature in which an average market observation price is determined on valuation and compared to the strike to determine a settlement amount.
      Specified by:
      getAveragingFeature in interface OptionFeature
    • getBarrier

      @RosettaAttribute("barrier") @Accessor(GETTER) @RuneAttribute("barrier") public Barrier getBarrier()
      Description copied from interface: OptionFeature
      Specifies a barrier feature.
      Specified by:
      getBarrier in interface OptionFeature
    • getKnock

      @RosettaAttribute("knock") @Accessor(GETTER) @RuneAttribute("knock") public Knock getKnock()
      Description copied from interface: OptionFeature
      Specifies a knock in or knock out feature.
      Specified by:
      getKnock in interface OptionFeature
    • getPassThrough

      @RosettaAttribute("passThrough") @Accessor(GETTER) @RuneAttribute("passThrough") public PassThrough getPassThrough()
      Description copied from interface: OptionFeature
      Specifies the rules for pass-through payments from the underlier, such as dividends.
      Specified by:
      getPassThrough in interface OptionFeature
    • build

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

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

      protected void setBuilderFields(OptionFeature.OptionFeatureBuilder 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