public final ValidationResult validate() {
PropertyValidationSupport support = new PropertyValidationSupport(
commentModel, "Kommentar");
if(ValidationUtils.isEmpty(commentModel.getComment())){
support.addError("kommentar", "kan ikke v�re tom");
}
if (ModelUtil.nullToString(commentModel.getComment()).length() >= ICommentModel.MAX_COMMENT_LENGTH) {
support.addError("kommentar", "kan ikke v�re lengre enn "
+ ICommentModel.MAX_COMMENT_LENGTH);
}