public interface ModelParameterManager
Modifier and Type | Method and Description |
---|---|
void |
assignModelParameter(java.lang.String name,
java.lang.Object value)
Method to assign a value to a model-parameter declared previously.
|
void |
declareExperimentParameter(java.lang.Class<?> type,
java.lang.String name)
Method to declare a experiment-parameter.
|
void |
declareExperimentParameter(java.lang.Class<?> type,
java.lang.String name,
java.lang.Object defaultValue)
Method to declare a experiment-parameter.
|
void |
declareModelParameter(java.lang.Class<?> type,
java.lang.String name)
Method to declare a model-parameter.
|
java.util.Collection<Parameter> |
getParameters()
Returns all declared parameters.
|
java.lang.Object |
getParameterValue(java.lang.String name)
Returns the value of an experiment- or model-parameter.
|
void |
initializeModelParameter(java.lang.Class<?> type,
java.lang.String name,
java.lang.Object value)
Method to initialize (declare and assign) a model-parameter.
|
void declareExperimentParameter(java.lang.Class<?> type, java.lang.String name)
type
- the experiment-parameter's typename
- the experiment-parameter's namevoid declareExperimentParameter(java.lang.Class<?> type, java.lang.String name, java.lang.Object defaultValue)
type
- the experiment-parameter's typename
- the experiment-parameter's namedefaultValue
- the experiment-parameter's default valuevoid declareModelParameter(java.lang.Class<?> type, java.lang.String name)
type
- the model-parameter's typename
- the model-parameter's namevoid initializeModelParameter(java.lang.Class<?> type, java.lang.String name, java.lang.Object value)
type
- the model-parameter's typename
- the model-parameter's namevalue
- the model-parameter's valuevoid assignModelParameter(java.lang.String name, java.lang.Object value)
name
- the model-parameter's namevalue
- the model-parameter's valuejava.lang.Object getParameterValue(java.lang.String name)
name
- the parameter's namejava.util.Collection<Parameter> getParameters()