public static class AnalyticModelFactory.DescribedAnalyticModel extends AnalyticModel implements DescribedModel<AnalyticModelDescriptor>
AnalyticModel
with the funtionality of a described model.Constructor and Description |
---|
DescribedAnalyticModel(LocalDate referenceDate,
Map<String,CurveInterface> curvesMap,
Map<String,VolatilitySurfaceInterface> 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, toString
public DescribedAnalyticModel(LocalDate referenceDate, Map<String,CurveInterface> curvesMap, Map<String,VolatilitySurfaceInterface> volatilitySurfaceMap)
public AnalyticModelDescriptor getDescriptor()
DescribedModel
getDescriptor
in interface DescribedModel<AnalyticModelDescriptor>
public DescribedProduct<? extends ProductDescriptor> getProductFromDescriptor(ProductDescriptor productDescriptor)
DescribedModel
getProductFromDescriptor
in interface DescribedModel<AnalyticModelDescriptor>
productDescriptor
- Given product descriptor.Copyright © 2018. All rights reserved.