Class CleanPrice.CleanPriceImpl

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

public static class CleanPrice.CleanPriceImpl extends Object implements CleanPrice
Immutable Implementation of CleanPrice
  • Constructor Details

  • Method Details

    • getCleanPrice

      @RosettaAttribute(value="cleanPrice", isRequired=true) @RuneAttribute(value="cleanPrice", isRequired=true) public BigDecimal getCleanPrice()
      Description copied from interface: CleanPrice
      The clean price as a number.
      Specified by:
      getCleanPrice in interface CleanPrice
    • getAccruals

      @RosettaAttribute("accruals") @RuneAttribute("accruals") public BigDecimal getAccruals()
      Description copied from interface: CleanPrice
      The accruals as a number.
      Specified by:
      getAccruals in interface CleanPrice
    • getDirtyPrice

      @RosettaAttribute("dirtyPrice") @RuneAttribute("dirtyPrice") public String getDirtyPrice()
      Description copied from interface: CleanPrice
      Placeholder for a calculation of dirtyPrice based on cleanPrice and accruals.
      Specified by:
      getDirtyPrice in interface CleanPrice
    • build

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

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

      protected void setBuilderFields(CleanPrice.CleanPriceBuilder 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