Class ComputedAmount.ComputedAmountImpl

java.lang.Object
cdm.product.common.settlement.ComputedAmount.ComputedAmountImpl
All Implemented Interfaces:
ComputedAmount, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
ComputedAmount

public static class ComputedAmount.ComputedAmountImpl extends Object implements ComputedAmount
Immutable Implementation of ComputedAmount
  • Constructor Details

  • Method Details

    • getCallFunction

      @RosettaAttribute(value="callFunction", isRequired=true) @RuneAttribute(value="callFunction", isRequired=true) public String getCallFunction()
      Description copied from interface: ComputedAmount
      Getter Methods
      Specified by:
      getCallFunction in interface ComputedAmount
    • getAmount

      @RosettaAttribute(value="amount", isRequired=true) @RuneAttribute(value="amount", isRequired=true) public BigDecimal getAmount()
      Specified by:
      getAmount in interface ComputedAmount
    • getCurrency

      @RosettaAttribute("currency") @RuneAttribute("currency") public FieldWithMetaString getCurrency()
      Description copied from interface: ComputedAmount
      The currency in which the computed amount is denominated. The list of valid currencies is not presently positioned as an enumeration as part of the CDM because that scope is limited to the values specified by ISDA and FpML. As a result, implementers have to make reference to the relevant standard, such as the ISO 4217 standard for currency codes.
      Specified by:
      getCurrency in interface ComputedAmount
    • build

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

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

      protected void setBuilderFields(ComputedAmount.ComputedAmountBuilder 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