Package nz.org.riskscape.engine.model
Class ModelParameter
java.lang.Object
nz.org.riskscape.engine.model.ModelParameter
Represents a Parameter
in a Model
that can be customized by
the user, via a ParameterTemplate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChoices
(Locale locale) getDescription
(Locale locale) getLabel()
getName()
getValue
(BoundParameters bound) protected String
toUserFriendlyString
(String input)
-
Constructor Details
-
ModelParameter
-
-
Method Details
-
getDescription
- Returns:
- a detailed user-friendly description of the parameter, i.e. help text
-
getLabel
- Returns:
- a user-friendly label for this parameter, like what would be displayed in the UI
-
toUserFriendlyString
-
getProperties
- Returns:
- any traits that this parameter has, e.g. hidden, read-only, numeric, etc
-
getChoices
- Returns:
- a set of pre-defined values that this parameter can accept
-
getValue
-
getName
-
getParameter
-
getTemplate
-