interface - Parameter validation

This topic discusses the parameter validation feature provided by the PLANTA link API.




Function Parameters Return Value Description
ParameterValidator.__init__(self, parameter_name) parameter_name: Bezeichnung   Initialize a ParameterValidator
ParameterValidator.get_error_message(self, value) value: String value Error message as string Override this in a subclass and provide a meaningful error message to the user
ParameterValidator.validate(self, value) value: String value True or False Override this in a subclass and implement a validation that returns True or False


Property Getter Setter Description
ParameterValidator.parameter_name checked checked The Bezeichnung this class was initialized with

web-bg-small 39.5 Venus Current DE

         PLANTA project

  • Suche in Topic-Namen

  • Suche in Topic-Inhalten