isValid

abstract fun isValid(messages: StringBuffer): Boolean

checks if all values in the entity is valid, consistent and ready for storage. The routine might test only for the first error encounter or may test a many error as possible.

Return

true when entity is valid.

Parameters

messages

human readable error message(s) should be added here. All error messages should end with a new lines.