Package cdm.product.common.settlement
Class ComputedAmount.ComputedAmountBuilderImpl
java.lang.Object
cdm.product.common.settlement.ComputedAmount.ComputedAmountBuilderImpl
- All Implemented Interfaces:
ComputedAmount,ComputedAmount.ComputedAmountBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ComputedAmount
public static class ComputedAmount.ComputedAmountBuilderImpl
extends Object
implements ComputedAmount.ComputedAmountBuilder
Builder Implementation of ComputedAmount
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.ComputedAmount
ComputedAmount.ComputedAmountBuilder, ComputedAmount.ComputedAmountBuilderImpl, ComputedAmount.ComputedAmountImpl -
Field Summary
FieldsFields inherited from interface cdm.product.common.settlement.ComputedAmount
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanGetter MethodsThe currency in which the computed amount is denominated.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAmount(BigDecimal _amount) setCallFunction(String _callFunction) setCurrency(FieldWithMetaString _currency) setCurrencyValue(String _currency) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.ComputedAmount
getType, metaData, processMethods inherited from interface cdm.product.common.settlement.ComputedAmount.ComputedAmountBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
callFunction
-
amount
-
currency
-
-
Constructor Details
-
ComputedAmountBuilderImpl
public ComputedAmountBuilderImpl()
-
-
Method Details
-
getCallFunction
@RosettaAttribute(value="callFunction", isRequired=true) @RuneAttribute(value="callFunction", isRequired=true) public String getCallFunction()Description copied from interface:ComputedAmountGetter Methods- Specified by:
getCallFunctionin interfaceComputedAmount
-
getAmount
@RosettaAttribute(value="amount", isRequired=true) @RuneAttribute(value="amount", isRequired=true) public BigDecimal getAmount()- Specified by:
getAmountin interfaceComputedAmount
-
getCurrency
@RosettaAttribute("currency") @RuneAttribute("currency") public FieldWithMetaString.FieldWithMetaStringBuilder getCurrency()Description copied from interface:ComputedAmountThe 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:
getCurrencyin interfaceComputedAmount- Specified by:
getCurrencyin interfaceComputedAmount.ComputedAmountBuilder
-
getOrCreateCurrency
- Specified by:
getOrCreateCurrencyin interfaceComputedAmount.ComputedAmountBuilder
-
setCallFunction
@RosettaAttribute(value="callFunction", isRequired=true) @RuneAttribute(value="callFunction", isRequired=true) public ComputedAmount.ComputedAmountBuilder setCallFunction(String _callFunction) - Specified by:
setCallFunctionin interfaceComputedAmount.ComputedAmountBuilder
-
setAmount
@RosettaAttribute(value="amount", isRequired=true) @RuneAttribute(value="amount", isRequired=true) public ComputedAmount.ComputedAmountBuilder setAmount(BigDecimal _amount) - Specified by:
setAmountin interfaceComputedAmount.ComputedAmountBuilder
-
setCurrency
@RosettaAttribute("currency") @RuneAttribute("currency") public ComputedAmount.ComputedAmountBuilder setCurrency(FieldWithMetaString _currency) - Specified by:
setCurrencyin interfaceComputedAmount.ComputedAmountBuilder
-
setCurrencyValue
- Specified by:
setCurrencyValuein interfaceComputedAmount.ComputedAmountBuilder
-
build
Description copied from interface:ComputedAmountBuild Methods- Specified by:
buildin interfaceComputedAmount- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceComputedAmount- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceComputedAmount.ComputedAmountBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ComputedAmount.ComputedAmountBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-