class AbstractFormItem implements FormItem<T> {

    @Override
    public void setRestricted(boolean restricted) {
        if (this.restricted != restricted) {
            this.restricted = restricted;
            if (restricted) {
                apply(RESTRICTED);
            } else {
                unapply(RESTRICTED);
            }
        }
    }

      AbstractFormItem(String name, String label, String hint);

}