}
@Override
public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof PasswordFieldRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "PasswordFieldRepresentation"));
}
super.populate(rep);
PasswordFieldRepresentation prep = (PasswordFieldRepresentation) rep;
this.defaultContent = prep.getDefaultValue();
this.name = prep.getName();