Class DateIntervalCompiler
- java.lang.Object
-
- net.n2oapp.framework.config.metadata.compile.ComponentCompiler<D,S>
-
- net.n2oapp.framework.config.metadata.compile.control.FieldCompiler<StandardField<D>,S>
-
- net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler<DateInterval,N2oDateInterval>
-
- net.n2oapp.framework.config.metadata.compile.control.DateIntervalCompiler
-
- All Implemented Interfaces:
SourceClassAware,SourceCompiler<StandardField<DateInterval>,N2oDateInterval,CompileContext<?,?>>,BaseSourceCompiler<StandardField<DateInterval>,N2oDateInterval,CompileContext<?,?>>
@Component public class DateIntervalCompiler extends StandardFieldCompiler<DateInterval,N2oDateInterval>
-
-
Constructor Summary
Constructors Constructor Description DateIntervalCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardField<DateInterval>compile(N2oDateInterval source, CompileContext<?,?> context, CompileProcessor p)protected java.lang.ObjectcompileDefValues(N2oDateInterval source, CompileProcessor p)Сборка значения по умолчанию у поляprotected voidcompileParams(StandardField<DateInterval> control, N2oDateInterval source, WidgetParamScope paramScope, UploadScope uploadScope, CompileProcessor p)Сборка значений по умолчанию у поля из параметров заданныхprotected java.lang.StringgetControlSrcProperty()Настройка React компонента ввода по умолчаниюjava.lang.Class<? extends Source>getSourceClass()-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler
compileControl, compileStandardField, initLabel
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.FieldCompiler
compileCopied, compileDefaultValues, compileDependencies, compileField, compileFilters, findSubModelQuery, getSrcProperty, initValidations
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.ComponentCompiler
compileComponent
-
-
-
-
Method Detail
-
getSourceClass
public java.lang.Class<? extends Source> getSourceClass()
-
compile
public StandardField<DateInterval> compile(N2oDateInterval source, CompileContext<?,?> context, CompileProcessor p)
-
compileDefValues
protected java.lang.Object compileDefValues(N2oDateInterval source, CompileProcessor p)
Description copied from class:FieldCompilerСборка значения по умолчанию у поля- Overrides:
compileDefValuesin classFieldCompiler<StandardField<DateInterval>,N2oDateInterval>- Parameters:
source- Исходная модель поляp- Процессор сборки- Returns:
- Значение по умолчанию поля
-
compileParams
protected void compileParams(StandardField<DateInterval> control, N2oDateInterval source, WidgetParamScope paramScope, UploadScope uploadScope, CompileProcessor p)
Description copied from class:FieldCompilerСборка значений по умолчанию у поля из параметров заданных- Overrides:
compileParamsin classFieldCompiler<StandardField<DateInterval>,N2oDateInterval>source- Исходная модель поляp- Процессор сборки
-
getControlSrcProperty
protected java.lang.String getControlSrcProperty()
Description copied from class:StandardFieldCompilerНастройка React компонента ввода по умолчанию- Specified by:
getControlSrcPropertyin classStandardFieldCompiler<DateInterval,N2oDateInterval>
-
-