Die Dokumentation ab Version 39.5.17 von PLANTA project finden Sie in der neuen PLANTA Online-Hilfe.

interface - Parameter validation

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

Classes

ParameterValidator

Methods

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

Properties

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

         PLANTA project









 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten
This site is powered by the TWiki collaboration platform Powered by Perl