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
Topic revision: r1 - 2017-10-10 - 18:36:16 - MarcelCarl








 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten