@Override public String getRequiredMessage() { return getDelegate().getRequiredMessage(); }
@Override public boolean unregister(HintsFacet facet) { return unregister(facet); }
/** * @return the delegate bound to this decorator. Never a <code>null</code> reference. * @throws IllegalArgumentException if the delegate returned by {@link #createDelegate()} is <code>null</code> or the * same reference as this decorator class */ protected final UISelectMany<VALUETYPE> getDelegate() { if (delegate == null) { delegate = createDelegate(); Assert.notNull(delegate, "Delegate cannot be null"); Assert.isTrue(delegate != this, "Decorator cannot delegate to itself"); } return delegate; }
@Override public UISelectMany<VALUETYPE> setEnabled(boolean b) { getDelegate().setEnabled(b); return this; }
@Override public UISelectMany<VALUETYPE> setDescription(Callable<String> description) { getDelegate().setDescription(description); return this; }
@Override public UISelectMany<VALUETYPE> setRequired(Callable<Boolean> required) { getDelegate().setRequired(required); return this; }
@Override public UISelectMany<VALUETYPE> addValidator(UIValidator validator) { getDelegate().addValidator(validator); return this; }
@Override public Iterable<VALUETYPE> getValueChoices() { return getDelegate().getValueChoices(); }
@Override public UISelectMany<VALUETYPE> setValueChoices(Iterable<VALUETYPE> values) { getDelegate().setValueChoices(values); return this; }
@Override public UISelectMany<VALUETYPE> setValueChoices(Callable<Iterable<VALUETYPE>> values) { getDelegate().setValueChoices(values); return this; }
@Override public boolean isDeprecated() { return getDelegate().isDeprecated(); }
@Override public boolean isEnabled() { return getDelegate().isEnabled(); }
@Override public UISelectMany<VALUETYPE> setLabel(String label) { getDelegate().setLabel(label); return this; }
@Override public UISelectMany<VALUETYPE> setDescription(String description) { getDelegate().setDescription(description); return this; }
@Override public UISelectMany<VALUETYPE> setRequiredMessage(Callable<String> message) { getDelegate().setRequiredMessage(message); return this; }
@Override public Converter<String, VALUETYPE> getValueConverter() { return getDelegate().getValueConverter(); }
@Override public UISelectMany<VALUETYPE> setNote(String note) { getDelegate().setNote(note); return this; }
@Override public <F extends HintsFacet> F getFacet(Class<F> type) throws FacetNotFoundException { return getDelegate().getFacet(type); }
@Override public <F extends HintsFacet> boolean supports(F facet) { return getDelegate().supports(facet); }
@Override public UISelectMany<VALUETYPE> setDefaultValue(Iterable<VALUETYPE> value) { getDelegate().setDefaultValue(value); return this; }