Package org.isda.cdm

Class ComputedAmount


  • @RosettaClass
    public class ComputedAmount
    extends com.rosetta.model.lib.RosettaModelObject
    A class to specify the outcome of a computed amount, for testing purposes.
    Version:
    2.5.4
    • Method Detail

      • getAmount

        public final java.math.BigDecimal getAmount()
      • getCallFunction

        public final java.lang.String getCallFunction()
      • getCurrency

        @RosettaSynonym(value="currency",
                        source="Rosetta_Workbench")
        public final FieldWithMetaString getCurrency()
        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.
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends ComputedAmount> metaData()
        Specified by:
        metaData in class com.rosetta.model.lib.RosettaModelObject
      • process

        public void process​(com.rosetta.model.lib.path.RosettaPath path,
                            com.rosetta.model.lib.process.Processor processor)
        Specified by:
        process in class com.rosetta.model.lib.RosettaModelObject
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object