Package cdm.product.common.settlement
Interface ComputedAmount
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
ComputedAmount.ComputedAmountBuilder
- All Known Implementing Classes:
ComputedAmount.ComputedAmountBuilderImpl,ComputedAmount.ComputedAmountImpl
@RosettaDataType(value="ComputedAmount",
builder=ComputedAmountBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="ComputedAmount",
model="cdm",
builder=ComputedAmountBuilderImpl.class,
version="5.30.0")
public interface ComputedAmount
extends com.rosetta.model.lib.RosettaModelObject
A class to specify the outcome of a computed amount, for testing purposes.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of ComputedAmountstatic classImmutable Implementation of ComputedAmount -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()Getter MethodsThe currency in which the computed amount is denominated.default Class<? extends ComputedAmount> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends ComputedAmount> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getCallFunction
String getCallFunction()Getter Methods -
getAmount
BigDecimal getAmount() -
getCurrency
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. -
build
ComputedAmount build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
ComputedAmount.ComputedAmountBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-