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.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = Portfolio Construction Component Groups Suite
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description TransactionChargeGroup() -
Method Summary
Modifier and Type Method Description booleanadd(java.lang.String assetID, TransactionCharge transactionCharge)Add an Asset's Transaction ChargeTransactionCharge[]constrict(Holdings holdings)Constrict the Transaction Charge Array to those of the Holdingsbooleancontains(java.lang.String assetID)Indicate if the Asset's Transaction Charge is AvailableTransactionChargetransactionCharge(java.lang.String assetID)Retrieve the Asset's Transaction Chargejava.util.Map<java.lang.String,TransactionCharge>transactionChargeMap()Retrieve the Map of Transaction ChargeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TransactionChargeGroup
public TransactionChargeGroup()
-
-
Method Details
-
add
Add an Asset's Transaction Charge- Parameters:
assetID- The Asset IDtransactionCharge- 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
Retrieve the Asset's Transaction Charge- Parameters:
assetID- The Asset ID- Returns:
- The Asset's Transaction Charge
-
transactionChargeMap
Retrieve the Map of Transaction Charge- Returns:
- Map of the Transaction Charge
-
constrict
Constrict the Transaction Charge Array to those of the Holdings- Parameters:
holdings- The Holdings Instance- Returns:
- The Array of Transaction Charge Objects
-