/** * Applies the model's type to the component. * * @throws BindingException if component does not accept type */ protected void applyType() { component.setGenericType(getMember().getGenericType()); component.setType(getMember().getType()); if (getMember().isReadOnly()) { component.setChangeable(false); } }