Figure Pr.26 - Pricing Logic Algorithm Base Entities : Class diagram
Created: 3/28/2022 3:51:09 PM
Modified: 5/30/2022 3:31:46 AM
Project:
Advanced:
What we try to model in the SID is the interface to these algorithms. The algorithms can be implemented in many different ways by different systems but we need to model the interface to them with all the parameters in order to be able to use these algorithms in our systems<br/>PricingLogicAlgorithm is a classic case of the EntitySpec/Entity pattern as described in the above use cases. <br/><br/>This diagram uses the generic EntitySpec/Entity pattern so that PricingLogicAlgorithmSpec automatically gets the characteristics that are associated with EntitySpecification. The PricingLogicAlgorithm is an instantiation of PricingLogicAlgorithmSpec after the parameters were set, so in the case of the simple use case above it represents linear usage rating, $0.10/minute with 6 seconds interval. The parameters ($0.10 and 6) are characteristic values.<br/>