validate method

dynamic validate()

Implementation

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