public class AnalyticModelDescriptor extends Object implements InterestRateModelDescriptor
Constructor and Description |
---|
AnalyticModelDescriptor(LocalDate referenceDate,
Collection<CurveInterface> curves,
Collection<VolatilitySurfaceInterface> surfaces)
Construct an AnalyticModelDescriptor mapping the collections of curves and volatility surfaces provided.
|
AnalyticModelDescriptor(LocalDate referenceDate,
Map<String,CurveInterface> curvesMap,
Map<String,VolatilitySurfaceInterface> volatilitySurfaceMap)
Construct an AnalyticModelDescriptor holding copies of the maps provided.
|
Modifier and Type | Method and Description |
---|---|
Map<String,CurveInterface> |
getCurvesMap() |
LocalDate |
getReferenceDate() |
Map<String,VolatilitySurfaceInterface> |
getVolatilitySurfaceMap() |
String |
name()
Return the name of the model represented by this descriptor.
|
Integer |
version()
Return the version of the model description.
|
public AnalyticModelDescriptor(LocalDate referenceDate, Collection<CurveInterface> curves, Collection<VolatilitySurfaceInterface> surfaces)
curves
- The collection of curves.surfaces
- The collection of volatility surfaces.public AnalyticModelDescriptor(LocalDate referenceDate, Map<String,CurveInterface> curvesMap, Map<String,VolatilitySurfaceInterface> volatilitySurfaceMap)
curvesMap
- The map of curves.volatilitySurfaceMap
- The map of volatility surfaces.public Integer version()
ModelDescriptor
version
in interface ModelDescriptor
public String name()
ModelDescriptor
name
in interface ModelDescriptor
public LocalDate getReferenceDate()
public Map<String,CurveInterface> getCurvesMap()
public Map<String,VolatilitySurfaceInterface> getVolatilitySurfaceMap()
Copyright © 2018. All rights reserved.