Interface DataMapping<T>

  • All Known Implementing Classes:
    DefaultMapping

    public interface DataMapping<T>
    Takes care of the mapping between form fields and the model.
    • Method Detail

      • addAttributeDescription

        void addAttributeDescription​(String name,
                                     org.jboss.hal.dmr.ModelNode attributeDescription)
      • newModel

        void newModel​(T model,
                      Form<T> form)
      • populateFormItems

        void populateFormItems​(T model,
                               Form<T> form)
      • populateFormItem

        void populateFormItem​(String id,
                              String name,
                              org.jboss.hal.dmr.ModelNode attributeDescription,
                              org.jboss.hal.dmr.ModelNode value,
                              FormItem formItem)
      • clearFormItems

        void clearFormItems​(Form<T> form)
      • persistModel

        void persistModel​(T model,
                          Form<T> form)