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 ObjectcompileDefValues(N2oDateInterval source, CompileProcessor p)Сборка значения по умолчанию у поляprotected StringgetControlSrcProperty()Настройка React компонента ввода по умолчаниюClass<? extends Source>getSourceClass()-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler
compileControl, compileStandardField, findSubModelQuery, initLabel
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.FieldCompiler
compileDependencies, compileField, getSrcProperty
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.ComponentCompiler
compileComponent
-
-
-
-
Method Detail
-
compile
public StandardField<DateInterval> compile(N2oDateInterval source, CompileContext<?,?> context, CompileProcessor p)
-
compileDefValues
protected Object compileDefValues(N2oDateInterval source, CompileProcessor p)
Description copied from class:StandardFieldCompilerСборка значения по умолчанию у поля- Overrides:
compileDefValuesin classStandardFieldCompiler<DateInterval,N2oDateInterval>- Parameters:
source- Исходная модель поляp- Процессор сборки- Returns:
- Значение по умолчанию поля
-
getControlSrcProperty
protected String getControlSrcProperty()
Description copied from class:StandardFieldCompilerНастройка React компонента ввода по умолчанию- Specified by:
getControlSrcPropertyin classStandardFieldCompiler<DateInterval,N2oDateInterval>
-
-