Interface FieldSetBuilder

All Known Implementing Classes:
DefaultFieldSetBuilder

public interface FieldSetBuilder
Interface for field set builder which create set of field names based on string configuration
  • Method Details

    • createFieldSet

      Set<String> createFieldSet(Class clazz, String fieldPrefix, String configuration)
      Method converts configuration string to set of field names
      Parameters:
      clazz - - class of object for which field set is created
      fieldPrefix - - prefix which should be added to field name
      configuration - - string describing properties which should be added to the set
      Returns:
      set of fully qualified field names
    • createFieldSet

      Set<String> createFieldSet(Class clazz, String fieldPrefix, String configuration, FieldSetBuilderContext context)
      Method converts configuration string to set of field names
      Parameters:
      clazz - - class of object for which field set is created
      fieldPrefix - - prefix which should be added to field name
      configuration - - string describing properties which should be added to the set
      context - - object storing additional information like :
      typeVariableMap - map containing information about types used in generic class
      e.g. if we have type class like ProductSearchPageData<STATE, RESULT> we should give map like {STATE=SearchStateData.class, RESULT=ProductData.class}
      recurrencyLevel - define how many recurrency level builder should support (it is case when object have it's own type field e.g. VariantMatrixElementData have elements which are also VariantMatrixElementData type)
      Returns:
      set of fully qualified field names