public class CDSBasket extends BasketProduct
| Constructor and Description |
|---|
CDSBasket(Component[] aComp,
double[] adblWeight,
java.lang.String strName)
Construct a CDS Basket from the components and their weights
|
| Modifier and Type | Method and Description |
|---|---|
Component[] |
components()
Return the Components in the Basket
|
int |
measureAggregationType(java.lang.String strMeasureName)
Retrieve the Aggregation Type for the specified Measure
|
java.lang.String |
name()
Return the basket name
|
coupon, couponCurrency, couponPeriod, creditLabel, customScenarioMeasures, effective, firstCouponDate, forwardLabel, fundingLabel, fxLabel, initialNotional, maturity, measures, measureValue, notional, notional, payCurrency, principalCurrency, value, weightspublic CDSBasket(Component[] aComp, double[] adblWeight, java.lang.String strName) throws java.lang.Exception
aComp - Array of componentsadblWeight - Weights of the componentsstrName - Name of the basketjava.lang.Exception - Thrown if the inputs are invalidpublic java.lang.String name()
BasketProductname in interface BasketMarketParamRefname in class BasketProductpublic Component[] components()
BasketProductcomponents in class BasketProductpublic int measureAggregationType(java.lang.String strMeasureName)
BasketProductmeasureAggregationType in class BasketProductstrMeasureName - The Specified Measure Name