/**
* Oppdaterer feilrapportering
*/
@SuppressWarnings("cast")
void updateValidationResult() {
ValidationResult result = new AttributeSetValidator(
(Set<IArticleAttribute>) attributes).validate();
validationResultModel.setResult(result);
if (validationResultModel.hasErrors()) {
buttonOk.setEnabled(false);
} else {