All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.fhframework.docs.widgets.WidgetStatisticsForm__View Maven / Gradle / Ivy

package pl.fhframework.docs.widgets;





public class WidgetStatisticsForm__View extends pl.fhframework.docs.widgets.WidgetStatisticsForm
{
        
    
    @org.springframework.beans.factory.annotation.Autowired private pl.fhframework.format.FhConversionService __conversionService;
    @org.springframework.beans.factory.annotation.Autowired private pl.fhframework.core.i18n.MessageService __messagesService;
    @org.springframework.beans.factory.annotation.Autowired private pl.fhframework.core.rules.service.RulesService __ruleService;
    
    pl.fhframework.model.forms.OutputLabel u__Form_OutputLabel_1;
    
    pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup_1;
    
    pl.fhframework.model.forms.OutputLabel u_staticticNoService_1;
    
    pl.fhframework.model.forms.Table u_staticticTable_1;
    
    pl.fhframework.model.forms.Column u__Form_PanelGroup_Table_Column1_1;
    
    pl.fhframework.model.forms.Column u__Form_PanelGroup_Table_Column2_1;
    
    pl.fhframework.model.forms.AvailabilityConfiguration a_availabilityConfiguration_1;
    
    pl.fhframework.model.forms.Model a_model_1;
    public static final java.util.Set ____actions = new java.util.LinkedHashSet<>();
    static {
    }
    
    public static final java.util.Set ____variants = new java.util.LinkedHashSet<>();
    static {
    }
    
    public static final java.util.Set ____includes = new java.util.LinkedHashSet<>();
    static {
    }


    public WidgetStatisticsForm__View()
    {
        initCmp_this();
        setupAccessibility();

    }

    private pl.fhframework.format.FhConversionService __getConversionService() { return __conversionService; }
    private pl.fhframework.core.i18n.MessageService __getMessageService() { return __messagesService; }
    private WidgetStatisticsForm__View getThisForm() { return this; }
    
    
    
    private void initCmp_this() {
    this.setLabelModelBinding(new pl.fhframework.binding.StaticBinding<>("Widget statistics"));
    this.setDeclaredContainer("mainForm");
    this.setHideHeader(false);
    this.setFocusFirstElement(true);
    this.setLayout(pl.fhframework.model.forms.attribute.Layout.VERTICAL);
    this.setModal(false);
    this.setFormType(pl.fhframework.model.forms.attribute.FormType.STANDARD);
    this.setModalSize(pl.fhframework.model.forms.attribute.FormModalSize.REGULAR);
    this.setXmlns("http://fh.asseco.com/form/1.0");
    this.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
    this.setId("documentationHolder");
    this.setInvisible(false);
    
    u__Form_OutputLabel_1 = new pl.fhframework.model.forms.OutputLabel(this);
    this.addSubcomponent(u__Form_OutputLabel_1);
    u__Form_OutputLabel_1.setGroupingParentComponent(this);
    initCmp_u__Form_OutputLabel_1(u__Form_OutputLabel_1);
    
    u__Form_PanelGroup_1 = new pl.fhframework.model.forms.PanelGroup(this);
    this.addSubcomponent(u__Form_PanelGroup_1);
    u__Form_PanelGroup_1.setGroupingParentComponent(this);
    initCmp_u__Form_PanelGroup_1(u__Form_PanelGroup_1);
    
    a_availabilityConfiguration_1 = new pl.fhframework.model.forms.AvailabilityConfiguration(this);
    this.setAvailabilityConfiguration(a_availabilityConfiguration_1);
    initCmp_a_availabilityConfiguration_1(a_availabilityConfiguration_1);
    
    a_model_1 = new pl.fhframework.model.forms.Model(this);
    this.setModelDefinition(a_model_1);
    initCmp_a_model_1(a_model_1);
    }
    
    private void initCmp_u__Form_OutputLabel_1(pl.fhframework.model.forms.OutputLabel u__Form_OutputLabel_1) {
    u__Form_OutputLabel_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
    u__Form_OutputLabel_1.setValueBinding(new pl.fhframework.binding.StaticBinding<>("Statistics of usage FH widgets"));
    u__Form_OutputLabel_1.setWidth("md-12");
    u__Form_OutputLabel_1.setId("_Form_OutputLabel");
    u__Form_OutputLabel_1.setInvisible(false);
    u__Form_OutputLabel_1.setGroupingParentComponent(this);
    }
    
    private void initCmp_u__Form_PanelGroup_1(pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup_1) {
    u__Form_PanelGroup_1.setLabelModelBinding(new pl.fhframework.binding.StaticBinding<>("Statistics"));
    u__Form_PanelGroup_1.setCollapsible(false);
    u__Form_PanelGroup_1.setBorderVisible(false);
    u__Form_PanelGroup_1.setModelBindingForState(new pl.fhframework.binding.StaticBinding<>("false"));
    u__Form_PanelGroup_1.setIconOpenedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-down"));
    u__Form_PanelGroup_1.setIconClosedBinding(new pl.fhframework.binding.StaticBinding<>("fa-arrow-up"));
    u__Form_PanelGroup_1.setHeadingType(pl.fhframework.model.HeadingTypeEnum.Default);
    u__Form_PanelGroup_1.setWidth("md-12");
    u__Form_PanelGroup_1.setId("_Form_PanelGroup");
    u__Form_PanelGroup_1.setInvisible(false);
    
    u_staticticNoService_1 = new pl.fhframework.model.forms.OutputLabel(this);
    u__Form_PanelGroup_1.addSubcomponent(u_staticticNoService_1);
    u_staticticNoService_1.setGroupingParentComponent(u__Form_PanelGroup_1);
    initCmp_u_staticticNoService_1(u_staticticNoService_1, u__Form_PanelGroup_1);
    
    u_staticticTable_1 = new pl.fhframework.model.forms.Table(this);
    u__Form_PanelGroup_1.addSubcomponent(u_staticticTable_1);
    u_staticticTable_1.setGroupingParentComponent(u__Form_PanelGroup_1);
    initCmp_u_staticticTable_1(u_staticticTable_1, u__Form_PanelGroup_1);
    u__Form_PanelGroup_1.setGroupingParentComponent(this);
    }
    
    private void initCmp_u_staticticNoService_1(pl.fhframework.model.forms.OutputLabel u_staticticNoService_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup_1) {
    u_staticticNoService_1.setIconAlignment(pl.fhframework.model.forms.attribute.IconAlignment.BEFORE);
    u_staticticNoService_1.setValueBinding(new pl.fhframework.binding.StaticBinding<>("WidgetStatisticsService implementation not found..."));
    u_staticticNoService_1.setWidth("md-12");
    u_staticticNoService_1.setId("staticticNoService");
    u_staticticNoService_1.setInvisible(false);
    u_staticticNoService_1.setGroupingParentComponent(u__Form_PanelGroup_1);
    }
    
    private void initCmp_u_staticticTable_1(pl.fhframework.model.forms.Table u_staticticTable_1, pl.fhframework.model.forms.PanelGroup u__Form_PanelGroup_1) {
    u_staticticTable_1.setHorizontalScrolling(false);
    u_staticticTable_1.setSelectAllChceckbox(true);
    u_staticticTable_1.setSelectable(false);
    u_staticticTable_1.setFixedHeader(false);
    u_staticticTable_1.setCsvExport(false);
    u_staticticTable_1.setOnRowClick(new pl.fhframework.binding.CompiledActionBinding(
            "-", "-"));
    u_staticticTable_1.setOnRowDoubleClick(new pl.fhframework.binding.CompiledActionBinding(
            "-", "-"));
    u_staticticTable_1.setIeFocusFixEnabled(false);
    u_staticticTable_1.setIterator("statistic");
    u_staticticTable_1.setCollection(new pl.fhframework.binding.CompiledBinding<>(
            "{statistics}",
            "statistics", /* property name */
            java.util.List.class, /* target type */
            this::__getConversionService,
            this::getModel, /* base object getter */
            (baseObject) -> this.getU_staticticTable_1_collection(baseObject), /* getter of property on base object */
            (baseObject, newValue) -> this.setU_staticticTable_1_collection(baseObject, newValue) /* setter of property on base object */
        ));
    u_staticticTable_1.setId("staticticTable");
    u_staticticTable_1.setInvisible(false);
    u_staticticTable_1.setGroupingParentComponent(u__Form_PanelGroup_1);
    
    u__Form_PanelGroup_Table_Column1_1 = new pl.fhframework.model.forms.Column(this);
    u_staticticTable_1.getColumns().add(u__Form_PanelGroup_Table_Column1_1);
    initCmp_u__Form_PanelGroup_Table_Column1_1(u__Form_PanelGroup_Table_Column1_1, u_staticticTable_1);
    
    u__Form_PanelGroup_Table_Column2_1 = new pl.fhframework.model.forms.Column(this);
    u_staticticTable_1.getColumns().add(u__Form_PanelGroup_Table_Column2_1);
    initCmp_u__Form_PanelGroup_Table_Column2_1(u__Form_PanelGroup_Table_Column2_1, u_staticticTable_1);
    }
    
    
    // statistics
    private java.util.List getU_staticticTable_1_collection(pl.fhframework.docs.widgets.WidgetStatisticsModel baseObject) {
        try {
            return baseObject.getStatistics();
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU_staticticTable_1_collection")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    
    // statistics
    private void setU_staticticTable_1_collection(pl.fhframework.docs.widgets.WidgetStatisticsModel baseObject, java.util.List newValue) {
        try {
            baseObject.setStatistics(newValue);
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU_staticticTable_1_collection")) {
                // ignore
            } else {
                throw e;
            }
        }
    }
    private void initCmp_u__Form_PanelGroup_Table_Column1_1(pl.fhframework.model.forms.Column u__Form_PanelGroup_Table_Column1_1, pl.fhframework.model.forms.Table u_staticticTable_1) {
    u__Form_PanelGroup_Table_Column1_1.setLabelModelBinding(new pl.fhframework.binding.StaticBinding<>("Name"));
    u__Form_PanelGroup_Table_Column1_1.setId("_Form_PanelGroup_Table_Column1");
    u__Form_PanelGroup_Table_Column1_1.setInvisible(false);
    u__Form_PanelGroup_Table_Column1_1.setInteratorComponentFactory((v_u__Form_PanelGroup_Table_Column1_1GroupingComponent, x_statisticRowNoOffset, x_u__Form_PanelGroup_Table_Column1_1Indices) -> {
        int x_statisticIndex = x_u__Form_PanelGroup_Table_Column1_1Indices[0]; // statistic index
        
        pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup_Table_Column1_value_based_label_1;
        
        pl.fhframework.model.forms.TableCell a_tableCell_1;
    
        
        u__Form_PanelGroup_Table_Column1_value_based_label_1 = new pl.fhframework.model.forms.OutputLabel(this);
        u__Form_PanelGroup_Table_Column1_value_based_label_1.setGroupingParentComponent(u__Form_PanelGroup_Table_Column1_1);
        u__Form_PanelGroup_Table_Column1_value_based_label_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
                "{statistic.name}",
                "name", /* property name */
                String.class, /* target type */
                this::__getConversionService,
                () -> this.getX_StatisticIterator(x_statisticRowNoOffset, x_statisticIndex), /* base object getter */
                (baseObject) -> this.getU__Form_PanelGroup_Table_Column1_value_based_label_1_valueBinding(x_statisticRowNoOffset, x_statisticIndex, baseObject), /* getter of property on base object */
                (baseObject, newValue) -> this.setU__Form_PanelGroup_Table_Column1_value_based_label_1_valueBinding(x_statisticRowNoOffset, x_statisticIndex, baseObject, newValue) /* setter of property on base object */
            ));
        u__Form_PanelGroup_Table_Column1_value_based_label_1.setWidth("md-12");
        u__Form_PanelGroup_Table_Column1_value_based_label_1.setId("_Form_PanelGroup_Table_Column1_value_based_label");
        u__Form_PanelGroup_Table_Column1_value_based_label_1.setInvisible(false);
        
        a_tableCell_1 = new pl.fhframework.model.forms.TableCell(this);
        u__Form_PanelGroup_Table_Column1_value_based_label_1.setGroupingParentComponent(a_tableCell_1);
        a_tableCell_1.setInvisible(false);
        a_tableCell_1.addSubcomponent(u__Form_PanelGroup_Table_Column1_value_based_label_1);
        u__Form_PanelGroup_Table_Column1_value_based_label_1.setGroupingParentComponent(a_tableCell_1);
        a_tableCell_1.setGroupingParentComponent(u__Form_PanelGroup_Table_Column1_1);
        pl.fhframework.core.generator.CompiledClassesHelper.addSuffixToIdWithSubcomponents(u__Form_PanelGroup_Table_Column1_value_based_label_1, "_statistic_" + x_statisticIndex);
        pl.fhframework.core.generator.CompiledClassesHelper.initWithSubcomponents(u__Form_PanelGroup_Table_Column1_value_based_label_1);
        pl.fhframework.core.generator.CompiledClassesHelper.assignAvailabilityRulesForRepeatedComponent("_Form_PanelGroup_Table_Column1_value_based_label", u__Form_PanelGroup_Table_Column1_value_based_label_1);
        return java.util.Arrays.asList(u__Form_PanelGroup_Table_Column1_value_based_label_1);
    
    });
    u__Form_PanelGroup_Table_Column1_1.setGroupingParentComponent(u_staticticTable_1);
    u__Form_PanelGroup_Table_Column1_1.setTable(u_staticticTable_1);
    }
    
    
    // T(java.lang.String).valueOf(statistic$index + 1 + x_statisticRowNoOffset.getRowNumberOffset())
    private String getX_StatisticIteratorRowNo(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset, int x_statisticIndex) {
        try {
            return String.valueOf(( (( (x_statisticIndex) + (1) )) + (x_statisticRowNoOffset.getRowNumberOffset()) ));
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getX_StatisticIteratorRowNo")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    
    // statistics[statistic$index]
    private pl.fhframework.model.forms.statistics.model.WidgetStatistic getX_StatisticIterator(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset, int x_statisticIndex) {
        try {
            return getModel().getStatistics().get(x_statisticIndex);
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getX_StatisticIterator")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    
    // statistic.name
    private String getU__Form_PanelGroup_Table_Column1_value_based_label_1_valueBinding(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset, int x_statisticIndex, pl.fhframework.model.forms.statistics.model.WidgetStatistic baseObject) {
        try {
            return baseObject.getName();
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup_Table_Column1_value_based_label_1_valueBinding")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    
    // statistic.name
    private void setU__Form_PanelGroup_Table_Column1_value_based_label_1_valueBinding(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset, int x_statisticIndex, pl.fhframework.model.forms.statistics.model.WidgetStatistic baseObject, String newValue) {
        try {
            baseObject.setName(newValue);
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup_Table_Column1_value_based_label_1_valueBinding")) {
                // ignore
            } else {
                throw e;
            }
        }
    }
    private void initCmp_u__Form_PanelGroup_Table_Column2_1(pl.fhframework.model.forms.Column u__Form_PanelGroup_Table_Column2_1, pl.fhframework.model.forms.Table u_staticticTable_1) {
    u__Form_PanelGroup_Table_Column2_1.setLabelModelBinding(new pl.fhframework.binding.StaticBinding<>("Count"));
    u__Form_PanelGroup_Table_Column2_1.setId("_Form_PanelGroup_Table_Column2");
    u__Form_PanelGroup_Table_Column2_1.setInvisible(false);
    u__Form_PanelGroup_Table_Column2_1.setInteratorComponentFactory((v_u__Form_PanelGroup_Table_Column2_1GroupingComponent, x_statisticRowNoOffset_1, x_u__Form_PanelGroup_Table_Column2_1Indices) -> {
        int x_statisticIndex_1 = x_u__Form_PanelGroup_Table_Column2_1Indices[0]; // statistic index
        
        pl.fhframework.model.forms.OutputLabel u__Form_PanelGroup_Table_Column2_value_based_label_1;
        
        pl.fhframework.model.forms.TableCell a_tableCell_2_1;
    
        
        u__Form_PanelGroup_Table_Column2_value_based_label_1 = new pl.fhframework.model.forms.OutputLabel(this);
        u__Form_PanelGroup_Table_Column2_value_based_label_1.setGroupingParentComponent(u__Form_PanelGroup_Table_Column2_1);
        u__Form_PanelGroup_Table_Column2_value_based_label_1.setValueBinding(new pl.fhframework.binding.CompiledBinding<>(
                "{statistic.count}",
                "count", /* property name */
                Integer.class, /* target type */
                this::__getConversionService,
                () -> this.getX_StatisticIterator_1(x_statisticRowNoOffset_1, x_statisticIndex_1), /* base object getter */
                (baseObject) -> this.getU__Form_PanelGroup_Table_Column2_value_based_label_1_valueBinding(x_statisticRowNoOffset_1, x_statisticIndex_1, baseObject), /* getter of property on base object */
                (baseObject, newValue) -> this.setU__Form_PanelGroup_Table_Column2_value_based_label_1_valueBinding(x_statisticRowNoOffset_1, x_statisticIndex_1, baseObject, newValue) /* setter of property on base object */
            ));
        u__Form_PanelGroup_Table_Column2_value_based_label_1.setWidth("md-12");
        u__Form_PanelGroup_Table_Column2_value_based_label_1.setId("_Form_PanelGroup_Table_Column2_value_based_label");
        u__Form_PanelGroup_Table_Column2_value_based_label_1.setInvisible(false);
        
        a_tableCell_2_1 = new pl.fhframework.model.forms.TableCell(this);
        u__Form_PanelGroup_Table_Column2_value_based_label_1.setGroupingParentComponent(a_tableCell_2_1);
        a_tableCell_2_1.setInvisible(false);
        a_tableCell_2_1.addSubcomponent(u__Form_PanelGroup_Table_Column2_value_based_label_1);
        u__Form_PanelGroup_Table_Column2_value_based_label_1.setGroupingParentComponent(a_tableCell_2_1);
        a_tableCell_2_1.setGroupingParentComponent(u__Form_PanelGroup_Table_Column2_1);
        pl.fhframework.core.generator.CompiledClassesHelper.addSuffixToIdWithSubcomponents(u__Form_PanelGroup_Table_Column2_value_based_label_1, "_statistic_" + x_statisticIndex_1);
        pl.fhframework.core.generator.CompiledClassesHelper.initWithSubcomponents(u__Form_PanelGroup_Table_Column2_value_based_label_1);
        pl.fhframework.core.generator.CompiledClassesHelper.assignAvailabilityRulesForRepeatedComponent("_Form_PanelGroup_Table_Column2_value_based_label", u__Form_PanelGroup_Table_Column2_value_based_label_1);
        return java.util.Arrays.asList(u__Form_PanelGroup_Table_Column2_value_based_label_1);
    
    });
    u__Form_PanelGroup_Table_Column2_1.setGroupingParentComponent(u_staticticTable_1);
    u__Form_PanelGroup_Table_Column2_1.setTable(u_staticticTable_1);
    }
    
    
    // T(java.lang.String).valueOf(statistic$index + 1 + x_statisticRowNoOffset_1.getRowNumberOffset())
    private String getX_StatisticIteratorRowNo_1(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset_1, int x_statisticIndex_1) {
        try {
            return String.valueOf(( (( (x_statisticIndex_1) + (1) )) + (x_statisticRowNoOffset_1.getRowNumberOffset()) ));
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getX_StatisticIteratorRowNo_1")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    
    // statistics[statistic$index]
    private pl.fhframework.model.forms.statistics.model.WidgetStatistic getX_StatisticIterator_1(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset_1, int x_statisticIndex_1) {
        try {
            return getModel().getStatistics().get(x_statisticIndex_1);
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getX_StatisticIterator_1")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    
    // statistic.count
    private Integer getU__Form_PanelGroup_Table_Column2_value_based_label_1_valueBinding(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset_1, int x_statisticIndex_1, pl.fhframework.model.forms.statistics.model.WidgetStatistic baseObject) {
        try {
            return baseObject.getCount();
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "getU__Form_PanelGroup_Table_Column2_value_based_label_1_valueBinding")) {
                return null;
            } else {
                throw e;
            }
        }
    }
    
    // statistic.count
    private void setU__Form_PanelGroup_Table_Column2_value_based_label_1_valueBinding(pl.fhframework.binding.IRowNumberOffsetSupplier x_statisticRowNoOffset_1, int x_statisticIndex_1, pl.fhframework.model.forms.statistics.model.WidgetStatistic baseObject, Integer newValue) {
        try {
            baseObject.setCount(newValue);
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "setU__Form_PanelGroup_Table_Column2_value_based_label_1_valueBinding")) {
                // ignore
            } else {
                throw e;
            }
        }
    }
    private void initCmp_a_availabilityConfiguration_1(pl.fhframework.model.forms.AvailabilityConfiguration a_availabilityConfiguration_1) {
    a_availabilityConfiguration_1.setInvisible(false);
    a_availabilityConfiguration_1.setGroupingParentComponent(this);
    }
    
    private void initCmp_a_model_1(pl.fhframework.model.forms.Model a_model_1) {
    a_model_1.setInvisible(false);
    }
    
    
    // statistics==null
    private boolean isGetAccessibilityOfstaticticTable_7() {
        try {
            return ( java.util.Objects.equals(getModel().getStatistics(), null) );
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "isGetAccessibilityOfstaticticTable_7")) {
                return false;
            } else {
                throw e;
            }
        }
    }
    
    // statistics!=null
    private boolean isGetAccessibilityOfstaticticNoService_8() {
        try {
            return ( !java.util.Objects.equals(getModel().getStatistics(), null) );
        } catch(NullPointerException e) {
            if (pl.fhframework.core.generator.CompiledClassesHelper.isLocalNullPointerException(e, getThisForm().getClass().getName(), "isGetAccessibilityOfstaticticNoService_8")) {
                return false;
            } else {
                throw e;
            }
        }
    }
    private void setupAccessibility() {
        // staticticTable
        this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("staticticTable", "", _rule_ -> (isGetAccessibilityOfstaticticTable_7() ? pl.fhframework.model.forms.AccessibilityEnum.HIDDEN : null), null /* null as xml object won't be provided in compiled form */));
    
        // staticticNoService
        this.getAllAccessibilityRules().add(new pl.fhframework.model.forms.AccessibilityRule("staticticNoService", "", _rule_ -> (isGetAccessibilityOfstaticticNoService_8() ? pl.fhframework.model.forms.AccessibilityEnum.HIDDEN : null), null /* null as xml object won't be provided in compiled form */));
    
        // defaultAvailability attributes of Variant elements
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy