Java Validation Renderer
A Renderer for the validation code in Java.
Inserts code into the Validate insertion point.
The generated code assumes there is a variable called result
. Its type is the type of the validated message. The variable holds the value of the message to validate.
The generated code is a number of code lines. It does not contain declarations (classes, methods, etc.).
If the validation rules are broken, throws a io.spine.validate.ValidationException.
Inherited properties
Functions
Inherited functions
Link copied to clipboard
protected final ClassName classNameOf(TypeName type, FilePath declaredIn)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard