public class BondBasket extends BasketProduct
Constructor and Description |
---|
BondBasket(java.lang.String strName,
Bond[] aBond,
double[] adblWeights)
BondBasket constructor
|
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 BondBasket(java.lang.String strName, Bond[] aBond, double[] adblWeights) throws java.lang.Exception
strName
- BondBasket NameaBond
- Component bondsadblWeights
- Component Bond weightsjava.lang.Exception
- Thrown if 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