Class MergedFormAndEntityModelProvider
java.lang.Object
ch.tocco.nice2.model.form.impl.entity.MergedFormAndEntityModelProvider
- All Implemented Interfaces:
NiceModelProvider
@Component
@Order(400)
public final class MergedFormAndEntityModelProvider
extends Object
implements NiceModelProvider
-
Field Summary
Fields inherited from interface ch.tocco.nice2.model.base.spi.base.NiceModelProvider
MODULE_RESOURCES_ORDER
-
Constructor Summary
ConstructorDescriptionMergedFormAndEntityModelProvider
(NiceDataModel entityModel, org.slf4j.Logger log, TypeManager typeManager, DataPathFactory dataPathFactory, DisplayValueFactory displayValueFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
readModels
(Object receiver) Entry point.void
setConverters
(List<FieldConverterContribution> converters)
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
Method Details
-
readModels
Entry point. Reads all models and merges them with information we have from the entity of the form. Such as:- Specified by:
readModels
in interfaceNiceModelProvider
- Parameters:
receiver
- the FormModelReceiver is used to get information about loaded forms and also to remove obsolete forms from- See Also:
-
setConverters
-