Class FormIndependentCommandMapping
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.core.Mapping<IndependentCommandMapping,Form>
-
- com._1c.g5.v8.dt.form.mapping.independent.FormIndependentCommandMapping
-
public class FormIndependentCommandMapping extends Mapping<IndependentCommandMapping,Form>
The model mapping for a form independent command.
-
-
Constructor Summary
Constructors Constructor Description FormIndependentCommandMapping(Supplier<Form> inputSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearRoot(IndependentCommandMapping model)
The method clear root mapping model.protected IndependentCommandMapping
createRoot()
The method creates a new root projection model.protected void
fillModel(IndependentCommandMapping model, 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, createComparer, dispose, fullUpdate, get, getCompletedRoot, getRelatedModel, getRootClass, getRootModel, isDisposed, pushEvent, removeRelation, removeRelation, setController
-
-
-
-
Method Detail
-
createRoot
protected IndependentCommandMapping createRoot()
Description copied from class:Mapping
The method creates a new root projection model.- Specified by:
createRoot
in classMapping<IndependentCommandMapping,Form>
- Returns:
- the root model of mapping, never
null
-
clearRoot
protected void clearRoot(IndependentCommandMapping model)
Description copied from class:Mapping
The method clear root mapping model.- Specified by:
clearRoot
in classMapping<IndependentCommandMapping,Form>
- Parameters:
model
- the root mapping model, can't benull
-
fillModel
protected void fillModel(IndependentCommandMapping model, Form input)
Description copied from class:Mapping
Methods fill projection model.- Specified by:
fillModel
in classMapping<IndependentCommandMapping,Form>
- Parameters:
model
- 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<IndependentCommandMapping,Form>
- Parameters:
event
- the event for processing, can't benull
-
-