Module net.finmath.lib
Package net.finmath.modelling.descriptor
Class SingleAssetEuropeanOptionProductDescriptor
- java.lang.Object
-
- net.finmath.modelling.descriptor.SingleAssetEuropeanOptionProductDescriptor
-
- All Implemented Interfaces:
ProductDescriptor,SingleAssetProductDescriptor
public class SingleAssetEuropeanOptionProductDescriptor extends Object implements SingleAssetProductDescriptor
Describes a European option.- Version:
- 1.0
- Author:
- Christian Fries
-
-
Constructor Summary
Constructors Constructor Description SingleAssetEuropeanOptionProductDescriptor(String underlyingName, LocalDate maturity, double strike)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDategetMaturity()DoublegetStrike()StringgetUnderlyingName()Stringname()Return the name of the model represented by this descriptor.Integerversion()Return the version of the model description.
-
-
-
Method Detail
-
version
public Integer version()
Description copied from interface:ProductDescriptorReturn the version of the model description.- Specified by:
versionin interfaceProductDescriptor- Returns:
- Version number.
-
name
public String name()
Description copied from interface:ProductDescriptorReturn the name of the model represented by this descriptor.- Specified by:
namein interfaceProductDescriptor- Returns:
- Name of the model.
-
getUnderlyingName
public String getUnderlyingName()
- Returns:
- Name of the underlying.
-
getMaturity
public LocalDate getMaturity()
- Returns:
- Maturity as double.
-
getStrike
public Double getStrike()
- Returns:
- Strike
-
-