Package cdm.product.common.settlement
Interface AssetFlowBase.AssetFlowBaseBuilder
- All Superinterfaces:
AssetFlowBase,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Subinterfaces:
Cashflow.CashflowBuilder,Transfer.TransferBuilder
- All Known Implementing Classes:
AssetFlowBase.AssetFlowBaseBuilderImpl,Cashflow.CashflowBuilderImpl,Transfer.TransferBuilderImpl
- Enclosing interface:
AssetFlowBase
public static interface AssetFlowBase.AssetFlowBaseBuilder
extends AssetFlowBase, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.AssetFlowBase
AssetFlowBase.AssetFlowBaseBuilder, AssetFlowBase.AssetFlowBaseBuilderImpl, AssetFlowBase.AssetFlowBaseImpl -
Field Summary
Fields inherited from interface cdm.product.common.settlement.AssetFlowBase
metaData -
Method Summary
Modifier and TypeMethodDescriptiongetAsset()Represents the object that is subject to the transfer, it could be an asset or a reference.Represents the amount of the asset to be transferred.Represents the date on which the transfer to due.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setQuantity(NonNegativeQuantity quantity) setSettlementDate(AdjustableOrAdjustedOrRelativeDate settlementDate) Methods inherited from interface cdm.product.common.settlement.AssetFlowBase
build, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateQuantity
NonNegativeQuantity.NonNegativeQuantityBuilder getOrCreateQuantity() -
getQuantity
NonNegativeQuantity.NonNegativeQuantityBuilder getQuantity()Description copied from interface:AssetFlowBaseRepresents the amount of the asset to be transferred. The cashflow amount is always a positive number, as the cashflow direction is implied by the payer/receiver attribute.- Specified by:
getQuantityin interfaceAssetFlowBase
-
getOrCreateAsset
Asset.AssetBuilder getOrCreateAsset() -
getAsset
Asset.AssetBuilder getAsset()Description copied from interface:AssetFlowBaseRepresents the object that is subject to the transfer, it could be an asset or a reference.- Specified by:
getAssetin interfaceAssetFlowBase
-
getOrCreateSettlementDate
AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder getOrCreateSettlementDate() -
getSettlementDate
AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder getSettlementDate()Description copied from interface:AssetFlowBaseRepresents the date on which the transfer to due.- Specified by:
getSettlementDatein interfaceAssetFlowBase
-
setQuantity
-
setAsset
-
setSettlementDate
AssetFlowBase.AssetFlowBaseBuilder setSettlementDate(AdjustableOrAdjustedOrRelativeDate settlementDate) -
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-