validate method
dynamic
validate()
Implementation
validate() {
// check for required fields
// alas, we cannot check 'is_do_branch' because it's a primitive and you chose the non-beans generator.
// alas, we cannot check 'condition_node_id' because it's a primitive and you chose the non-beans generator.
// check that fields of type enum have valid values
}