net.finmath.modelling.ProductFactory Maven / Gradle / Ivy
/*
* (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
*
* Created on 09.02.2018
*/
package net.finmath.modelling;
/**
*
* @author Christian Fries
* @author Luca Del Re
*
* @param The base class of the product descriptors which can be handled by this ProductFactory
.
* @version 1.0
*/
public interface ProductFactory
{
/**
* Constructs the product from a given product descriptor.
*
* @param descriptor A product descriptor.
* @return An instance of the product describable by this descriptor.
*/
DescribedProduct extends P> getProductFromDescriptor(ProductDescriptor descriptor);
}