Class DynamicLocalizedAttributesStringSampleBean

    • Constructor Detail

      • DynamicLocalizedAttributesStringSampleBean

        public DynamicLocalizedAttributesStringSampleBean()
    • Method Detail

      • set

        public void set​(TestItemType2Model item,
                        java.lang.String value)
        Holds logic behind setter for dynamic attribute.
        Specified by:
        set in interface DynamicAttributeHandler<java.lang.String,​TestItemType2Model>
        Parameters:
        item - model for which dynamic attribute is declared.
        value - the value which will be used by setter logic.
      • get

        public java.lang.String get​(TestItemType2Model item,
                                    java.util.Locale loc)
        Holds logic behind getter for dynamic attribute.
        Specified by:
        get in interface DynamicLocalizedAttributeHandler<java.lang.String,​TestItemType2Model>
        Parameters:
        item - model for which dynamic attribute is declared.
        loc - the locale for the given attribute
        Returns:
        computed value.
      • set

        public void set​(TestItemType2Model item,
                        java.lang.String value,
                        java.util.Locale loc)
        Holds logic behind setter for dynamic attribute.
        Specified by:
        set in interface DynamicLocalizedAttributeHandler<java.lang.String,​TestItemType2Model>
        Parameters:
        item - model for which dynamic attribute is declared.
        value - the value which will be used by setter logic.
        loc - the locale for the given attribute
      • setI18NService

        public void setI18NService​(I18NService i18nService)
      • init

        @Deprecated(since="ages",
                    forRemoval=true)
        protected I18NService init()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since ages