Package com._1c.g5.v8.dt.ui.aef.mappers
Interface IViewModelsMapper<M,T extends ItemViewModel>
- All Superinterfaces:
IMapper<M,T>
- All Known Implementing Classes:
AefLabelCheckStateMapper,AefLabelMapper,CharacteristicsTableMapper,CommonAttributeContentTreeComponent.CommonAttributeContentMapper,ExchangePlanContentComponent.ExchangePlatContentMapper,NavigatorTableComponent.NavigatorMapper,NavigatorTreeComponent.NavigatorMapper,PredefinedDataComponent.PredefinedDataMapper
View models mapper.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the mapped models collection, nevernullReturn the mapped viewModels.voidupdateItemViewModel(T item, M modelValue) Updates item view model.Methods inherited from interface com._1c.g5.aef2.mappers.IMapper
mapModelToView, mapViewToModel
-
Method Details
-
getMappedModels
Collection<Object> getMappedModels()Returns the mapped models collection, nevernull- Returns:
- the mapped models collection, never
null
-
getMappedViewModels
Collection<T> getMappedViewModels()Return the mapped viewModels.- Returns:
- the mapped viewModels, cannot be
null
-
updateItemViewModel
Updates item view model.- Parameters:
item- the item view model, cannot benullmodelValue- modelValue the model value, cannot benull
-