Class AssetFlowBase.AssetFlowBaseImpl

java.lang.Object
cdm.product.common.settlement.AssetFlowBase.AssetFlowBaseImpl
All Implemented Interfaces:
AssetFlowBase, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
AssetFlow.AssetFlowImpl, TransferBase.TransferBaseImpl
Enclosing interface:
AssetFlowBase

public static class AssetFlowBase.AssetFlowBaseImpl extends Object implements AssetFlowBase
Immutable Implementation of AssetFlowBase
  • Constructor Details

  • Method Details

    • getQuantity

      @RosettaAttribute("quantity") @Accessor(GETTER) @Required @RuneAttribute("quantity") public NonNegativeQuantity getQuantity()
      Description copied from interface: AssetFlowBase
      Represents 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:
      getQuantity in interface AssetFlowBase
    • getAsset

      @RosettaAttribute("asset") @Accessor(GETTER) @Required @RuneAttribute("asset") public Asset getAsset()
      Description copied from interface: AssetFlowBase
      Represents the object that is subject to the transfer, it could be an asset or a reference.
      Specified by:
      getAsset in interface AssetFlowBase
    • getSettlementDate

      @RosettaAttribute("settlementDate") @Accessor(GETTER) @Required @RuneAttribute("settlementDate") public AdjustableOrAdjustedOrRelativeDate getSettlementDate()
      Description copied from interface: AssetFlowBase
      Represents the date on which the transfer to due.
      Specified by:
      getSettlementDate in interface AssetFlowBase
    • getPaymentDiscounting

      @RosettaAttribute("paymentDiscounting") @Accessor(GETTER) @RuneAttribute("paymentDiscounting") public PaymentDiscounting getPaymentDiscounting()
      Description copied from interface: AssetFlowBase
      FpML specifies the FpML PaymentDiscounting.model group for representing the discounting elements that can be associated with a payment.
      Specified by:
      getPaymentDiscounting in interface AssetFlowBase
    • build

      public AssetFlowBase build()
      Description copied from interface: AssetFlowBase
      Build Methods
      Specified by:
      build in interface AssetFlowBase
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface AssetFlowBase
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(AssetFlowBase.AssetFlowBaseBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object