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 Summary
Modifier and TypeMethodDescriptioncreateFieldSet(Class clazz, String fieldPrefix, String configuration) Method converts configuration string to set of field namescreateFieldSet(Class clazz, String fieldPrefix, String configuration, FieldSetBuilderContext context) Method converts configuration string to set of field names
-
Method Details
-
createFieldSet
Method converts configuration string to set of field names- Parameters:
clazz- - class of object for which field set is createdfieldPrefix- - prefix which should be added to field nameconfiguration- - 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 createdfieldPrefix- - prefix which should be added to field nameconfiguration- - string describing properties which should be added to the setcontext- - 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
-