Class TransactionChargeGroup

java.lang.Object
org.drip.portfolioconstruction.composite.TransactionChargeGroup

public class TransactionChargeGroup
extends java.lang.Object
TransactionChargeGroup contains the Transaction Charge Values for the specified Set of Assets.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    TransactionChargeGroup()  
  • Method Summary

    Modifier and Type Method Description
    boolean add​(java.lang.String assetID, TransactionCharge transactionCharge)
    Add an Asset's Transaction Charge
    TransactionCharge[] constrict​(Holdings holdings)
    Constrict the Transaction Charge Array to those of the Holdings
    boolean contains​(java.lang.String assetID)
    Indicate if the Asset's Transaction Charge is Available
    TransactionCharge transactionCharge​(java.lang.String assetID)
    Retrieve the Asset's Transaction Charge
    java.util.Map<java.lang.String,​TransactionCharge> transactionChargeMap()
    Retrieve the Map of Transaction Charge

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TransactionChargeGroup

      public TransactionChargeGroup()
  • Method Details

    • add

      public boolean add​(java.lang.String assetID, TransactionCharge transactionCharge)
      Add an Asset's Transaction Charge
      Parameters:
      assetID - The Asset ID
      transactionCharge - The Asset's Transaction Charge
      Returns:
      TRUE - The Asset's Transaction Charge successfully added.
    • contains

      public boolean contains​(java.lang.String assetID)
      Indicate if the Asset's Transaction Charge is Available
      Parameters:
      assetID - The Asset ID
      Returns:
      TRUE - The Asset's Transaction Charge is Available
    • transactionCharge

      public TransactionCharge transactionCharge​(java.lang.String assetID)
      Retrieve the Asset's Transaction Charge
      Parameters:
      assetID - The Asset ID
      Returns:
      The Asset's Transaction Charge
    • transactionChargeMap

      public java.util.Map<java.lang.String,​TransactionCharge> transactionChargeMap()
      Retrieve the Map of Transaction Charge
      Returns:
      Map of the Transaction Charge
    • constrict

      public TransactionCharge[] constrict​(Holdings holdings)
      Constrict the Transaction Charge Array to those of the Holdings
      Parameters:
      holdings - The Holdings Instance
      Returns:
      The Array of Transaction Charge Objects