Class FormCommandInterfaceMapping
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.core.Mapping<CommandInterfaceMapping,Form>
-
- com._1c.g5.v8.dt.form.mapping.cmi.FormCommandInterfaceMapping
-
public class FormCommandInterfaceMapping extends Mapping<CommandInterfaceMapping,Form>
The class for filling the form command interface mapping models.
-
-
Constructor Summary
Constructors Constructor Description FormCommandInterfaceMapping(Form form, IBmModel bmModel)
Deprecated.FormCommandInterfaceMapping(Supplier<Form> inputSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearRoot(CommandInterfaceMapping model)
The method clear root mapping model.DtObjectMap.IComparer<Object>
createComparer()
Creates a comparer forDtObjectMap
of relation between domain model and projection.protected CommandInterfaceMapping
createRoot()
The method creates a new root projection model.protected void
fillModel(CommandInterfaceMapping mapping, Form input)
Methods fill projection model.void
handleEvent(AbstractEvent event)
The event processing.-
Methods inherited from class com._1c.g5.v8.dt.form.mapping.core.Mapping
addRelation, buildRootModel, clearAllRelation, dispose, fullUpdate, get, getCompletedRoot, getRelatedModel, getRootClass, getRootModel, isDisposed, pushEvent, removeRelation, removeRelation, setController
-
-
-
-
Constructor Detail
-
FormCommandInterfaceMapping
@Deprecated public FormCommandInterfaceMapping(Form form, IBmModel bmModel)
Deprecated.
-
-
Method Detail
-
createRoot
protected CommandInterfaceMapping createRoot()
Description copied from class:Mapping
The method creates a new root projection model.- Specified by:
createRoot
in classMapping<CommandInterfaceMapping,Form>
- Returns:
- the root model of mapping, never
null
-
clearRoot
protected void clearRoot(CommandInterfaceMapping model)
Description copied from class:Mapping
The method clear root mapping model.- Specified by:
clearRoot
in classMapping<CommandInterfaceMapping,Form>
- Parameters:
model
- the root mapping model, can't benull
-
fillModel
protected void fillModel(CommandInterfaceMapping mapping, Form input)
Description copied from class:Mapping
Methods fill projection model.- Specified by:
fillModel
in classMapping<CommandInterfaceMapping,Form>
- Parameters:
mapping
- the root projection model for filling, can't benull
input
- the root domain model, can't benull
-
handleEvent
public void handleEvent(AbstractEvent event)
Description copied from class:Mapping
The event processing. To the help of this method there is an evolution of a projection model.- Specified by:
handleEvent
in classMapping<CommandInterfaceMapping,Form>
- Parameters:
event
- the event for processing, can't benull
-
createComparer
public DtObjectMap.IComparer<Object> createComparer()
Description copied from class:Mapping
Creates a comparer forDtObjectMap
of relation between domain model and projection.- Overrides:
createComparer
in classMapping<CommandInterfaceMapping,Form>
- Returns:
- the new comparer, never
null
-
-