public void populate(FBValidation validation) throws FormBuilderException {
if (!(validation instanceof ORValidation)) {
throw new FormBuilderException(i18n.RepNotOfType(validation.getClass().getName(), "ORValidation"));
}
subValidations.clearItems();
ORValidation or = (ORValidation) validation;
List<FBValidation> subVals = or.getValidations();
for (FBValidation subVal : subVals) {
FBValidationItem item = createValidation(subVal);
subValidations.addItem(item);
}
}