Class FundamentalDiagramConfigurator<T extends FundamentalDiagramComponent>
- java.lang.Object
-
- org.goplanit.utils.builder.Configurator<T>
-
- org.goplanit.supply.fundamentaldiagram.FundamentalDiagramConfigurator<T>
-
- Type Parameters:
T
- fundamental diagram type
- Direct Known Subclasses:
NewellFundamentalDiagramConfigurator
public class FundamentalDiagramConfigurator<T extends FundamentalDiagramComponent> extends Configurator<T>
Base class for all fundamental diagram configurator implementations- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Constructor Description FundamentalDiagramConfigurator(Class<T> instanceType)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(FundamentalDiagramComponent fundamentalDiagram)
Needed to avoid issues with generics, although it should be obvious that T extends FundamentalDiagram-
Methods inherited from class org.goplanit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Method Detail
-
configure
public void configure(FundamentalDiagramComponent fundamentalDiagram) throws PlanItException
Needed to avoid issues with generics, although it should be obvious that T extends FundamentalDiagram- Overrides:
configure
in classConfigurator<T extends FundamentalDiagramComponent>
- Parameters:
fundamentalDiagram
- the instance to configure- Throws:
PlanItException
- thrown if error
-
-