public class InterestRateAnalyticProductFactory extends Object implements ProductFactory<InterestRateProductDescriptor>
| Constructor and Description |
|---|
InterestRateAnalyticProductFactory(LocalDate referenceDate)
Initialize the factory with the given referenceDate.
|
| Modifier and Type | Method and Description |
|---|---|
DescribedProduct<? extends InterestRateProductDescriptor> |
getProductFromDescriptor(ProductDescriptor descriptor)
Constructs the product from a given product descriptor.
|
public InterestRateAnalyticProductFactory(LocalDate referenceDate)
referenceDate - To be used when converting absolute dates to relative dates in double.public DescribedProduct<? extends InterestRateProductDescriptor> getProductFromDescriptor(ProductDescriptor descriptor)
ProductFactorygetProductFromDescriptor in interface ProductFactory<InterestRateProductDescriptor>descriptor - A product descriptor.Copyright © 2019. All rights reserved.