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