Interface ProductFactory<P extends ProductDescriptor>

Type Parameters:
P - The base class of the product descriptors which can be handled by this ProductFactory.
All Known Implementing Classes:
InterestRateAnalyticProductFactory, InterestRateMonteCarloProductFactory, ProductFactoryCascade, SingleAssetFourierProductFactory, SingleAssetMonteCarloProductFactory

public interface ProductFactory<P extends ProductDescriptor>
Version:
1.0
Author:
Christian Fries, Luca Del Re
  • Method Details

    • getProductFromDescriptor

      DescribedProduct<? extends P> getProductFromDescriptor(ProductDescriptor descriptor)
      Constructs the product from a given product descriptor.
      Parameters:
      descriptor - A product descriptor.
      Returns:
      An instance of the product describable by this descriptor.