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, weights
public 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()
BasketProduct
name
in interface BasketMarketParamRef
name
in class BasketProduct
public Component[] components()
BasketProduct
components
in class BasketProduct
public int measureAggregationType(java.lang.String strMeasureName)
BasketProduct
measureAggregationType
in class BasketProduct
strMeasureName
- The Specified Measure Name