public static class AnalyticModelFactory.DescribedAnalyticModel extends AnalyticModelFromCurvesAndVols implements DescribedModel<AnalyticModelDescriptor>
AnalyticModelFromCurvesAndVols with the funtionality of a described model.| Constructor and Description |
|---|
DescribedAnalyticModel(LocalDate referenceDate,
Map<String,Curve> curvesMap,
Map<String,VolatilitySurface> volatilitySurfaceMap) |
| Modifier and Type | Method and Description |
|---|---|
AnalyticModelDescriptor |
getDescriptor()
Return a model descriptor representing this model.
|
DescribedProduct<? extends ProductDescriptor> |
getProductFromDescriptor(ProductDescriptor productDescriptor)
Construct a product from a product descriptor, which may be valued by this model.
|
addCurve, addCurve, addCurves, addCurves, addVolatilitySurface, addVolatilitySurfaces, addVolatilitySurfaces, clone, getCloneForParameter, getCurve, getCurves, getDiscountCurve, getForwardCurve, getReferenceDate, getVolatilitySurface, getVolatilitySurfaces, setCurve, setCurves, setVolatilitySurface, toStringpublic AnalyticModelDescriptor getDescriptor()
DescribedModelgetDescriptor in interface DescribedModel<AnalyticModelDescriptor>public DescribedProduct<? extends ProductDescriptor> getProductFromDescriptor(ProductDescriptor productDescriptor)
DescribedModelgetProductFromDescriptor in interface DescribedModel<AnalyticModelDescriptor>productDescriptor - Given product descriptor.Copyright © 2019. All rights reserved.