abstract fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer
consumer - errors consumer
consumer