public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof CheckBoxRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CheckBoxRepresentation"));
}
super.populate(rep);
CheckBoxRepresentation crep = (CheckBoxRepresentation) rep;
this.formValue = crep.getFormValue();
this.name = crep.getName();
this.id = crep.getId();
this.checked = crep.getChecked();
populate(this.checkBox);
}