public final class CurveGroupDefinitionBuilder extends Object
CurveGroupDefinition
.Modifier and Type  Method and Description 

CurveGroupDefinitionBuilder 
addCurve(CurveDefinition curveDefinition,
Currency currency,
RateIndex index,
RateIndex... otherIndices)
Adds the definition of a curve to the curve group definition which is used to provide
discount rates and forward rates.

CurveGroupDefinitionBuilder 
addCurve(CurveName curveName,
Currency currency,
RateIndex index,
RateIndex... otherIndices)
Adds a curve to the curve group definition which is used to provide discount rates and forward rates.

CurveGroupDefinitionBuilder 
addDiscountCurve(CurveDefinition curveDefinition,
Currency currency,
Currency... otherCurrencies)
Adds the definition of a discount curve to the curve group definition.

CurveGroupDefinitionBuilder 
addDiscountCurve(CurveName curveName,
Currency currency,
Currency... otherCurrencies)
Adds the definition of a discount curve to the curve group definition.

CurveGroupDefinitionBuilder 
addForwardCurve(CurveDefinition curveDefinition,
Index index,
Index... otherIndices)
Adds the definition of a forward curve to the curve group definition.

CurveGroupDefinitionBuilder 
addForwardCurve(CurveName curveName,
Index index,
Index... otherIndices)
Adds the definition of a forward curve to the curve group definition.

CurveGroupDefinitionBuilder 
addSeasonality(CurveName curveName,
SeasonalityDefinition seasonalityDefinition)
Adds a seasonality to the curve group definition.

CurveGroupDefinition 
build()
Builds the definition of the curve group from the data in this object.

CurveGroupDefinitionBuilder 
computeJacobian(boolean computeJacobian)
Sets the 'compute Jacobian' flag of the curve group definition.

CurveGroupDefinitionBuilder 
computePvSensitivityToMarketQuote(boolean computePvSensitivityToMarketQuote)
Sets the 'compute PV sensitivity to market quote' flag of the curve group definition.

CurveGroupDefinitionBuilder 
name(CurveGroupName name)
Sets the name of the curve group definition.

public CurveGroupDefinitionBuilder name(CurveGroupName name)
name
 the name of the curve group, not emptypublic CurveGroupDefinitionBuilder computeJacobian(boolean computeJacobian)
computeJacobian
 the flag indicating if the Jacobian matrices should be
computed and stored in metadata or notpublic CurveGroupDefinitionBuilder computePvSensitivityToMarketQuote(boolean computePvSensitivityToMarketQuote)
If set, the Jacobian matrices will also be calculated, even if not requested.
computePvSensitivityToMarketQuote
 the flag indicating if present value sensitivity
to market quotes should be computed and stored in metadata or notpublic CurveGroupDefinitionBuilder addDiscountCurve(CurveDefinition curveDefinition, Currency currency, Currency... otherCurrencies)
curveDefinition
 the discount curve configurationotherCurrencies
 additional currencies for which the curve can provide discount factorscurrency
 the currency for which the curve provides discount ratespublic CurveGroupDefinitionBuilder addDiscountCurve(CurveName curveName, Currency currency, Currency... otherCurrencies)
A curve added with this method cannot be calibrated by the market data system as it does not include a curve definition. It is intended to be used with curves which are supplied by the user.
curveName
 the name of the curveotherCurrencies
 additional currencies for which the curve can provide discount factorscurrency
 the currency for which the curve provides discount ratespublic CurveGroupDefinitionBuilder addForwardCurve(CurveDefinition curveDefinition, Index index, Index... otherIndices)
curveDefinition
 the definition of the forward curveindex
 the index for which the curve provides forward ratesotherIndices
 the additional indices for which the curve provides forward ratespublic CurveGroupDefinitionBuilder addForwardCurve(CurveName curveName, Index index, Index... otherIndices)
A curve added with this method cannot be calibrated by the market data system as it does not include a curve definition. It is intended to be used with curves which are supplied by the user.
curveName
 the name of the curveindex
 the index for which the curve provides forward ratesotherIndices
 the additional indices for which the curve provides forward ratespublic CurveGroupDefinitionBuilder addCurve(CurveDefinition curveDefinition, Currency currency, RateIndex index, RateIndex... otherIndices)
curveDefinition
 the definition of the forward curvecurrency
 the currency for which the curve provides discount ratesindex
 the index for which the curve provides forward ratesotherIndices
 the additional indices for which the curve provides forward ratespublic CurveGroupDefinitionBuilder addCurve(CurveName curveName, Currency currency, RateIndex index, RateIndex... otherIndices)
A curve added with this method cannot be calibrated by the market data system as it does not include a curve definition. It is intended to be used with curves which are supplied by the user.
curveName
 the name of the curvecurrency
 the currency for which the curve provides discount ratesindex
 the index for which the curve provides forward ratesotherIndices
 the additional indices for which the curve provides forward ratespublic CurveGroupDefinitionBuilder addSeasonality(CurveName curveName, SeasonalityDefinition seasonalityDefinition)
curveName
 the name of the curveseasonalityDefinition
 the seasonality associated to the curvepublic CurveGroupDefinition build()
Copyright 2009Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.