Package com._1c.g5.v8.dt.ui.aef.mappers
Class OneWayLabelMapper<M,V extends ItemViewModel>
- java.lang.Object
- 
- com._1c.g5.aef2.mappers.OneWayMapper<M,V>
- 
- com._1c.g5.v8.dt.ui.aef.mappers.OneWayLabelMapper<M,V>
 
 
- 
- Type Parameters:
- M- the model type
- V- the- ItemViewModelsuccessor type
 - All Implemented Interfaces:
- IMapper<M,V>
 
 public abstract class OneWayLabelMapper<M,V extends ItemViewModel> extends OneWayMapper<M,V> IMapperimplementation that maps model object with the same policy as itsOneWayMapperancestor. Additionally it sets the view model fields value provided byILabelProvider.- See Also:
- OneWayMapper,- ILabelProvider
 
- 
- 
Constructor SummaryConstructors Constructor Description OneWayLabelMapper(ILabelProvider labelProvider)Create a new instance with the givenlabelProvider.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected VcreateModelToView(M modelValue)Creates the view value if it's not found in the cache.protected abstract VdoCreateModelToView(M modelValue)Creates the actual view model instance.- 
Methods inherited from class com._1c.g5.aef2.mappers.OneWayMappermapModelToView, mapViewToModel
 
- 
 
- 
- 
- 
Constructor Detail- 
OneWayLabelMapperpublic OneWayLabelMapper(ILabelProvider labelProvider) Create a new instance with the givenlabelProvider.- Parameters:
- labelProvider- the labelProvider
 
 
- 
 - 
Method Detail- 
createModelToViewprotected V createModelToView(M modelValue) Description copied from class:OneWayMapperCreates the view value if it's not found in the cache.- Specified by:
- createModelToViewin class- OneWayMapper<M,V extends ItemViewModel>
- Parameters:
- modelValue- the model value to create mapping for.
- Returns:
- created view value.
 
 
- 
 
-