Package org.isda.cdm
Class ComputedAmount
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComputedAmount.ComputedAmountBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputedAmount.ComputedAmountBuilder
builder()
boolean
equals(java.lang.Object o)
java.math.BigDecimal
getAmount()
java.lang.String
getCallFunction()
FieldWithMetaString
getCurrency()
The currency in which the computed amount is denominated.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ComputedAmount>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ComputedAmount.ComputedAmountBuilder
toBuilder()
java.lang.String
toString()
-
-
-
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 classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ComputedAmount.ComputedAmountBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ComputedAmount.ComputedAmountBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-