public class DynamicLocalizedAttributesStringSampleBean extends java.lang.Object implements DynamicLocalizedAttributeHandler<java.lang.String,TestItemType2Model>
| Constructor and Description |
|---|
DynamicLocalizedAttributesStringSampleBean() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(TestItemType2Model item)
Holds logic behind getter for dynamic attribute.
|
java.lang.String |
get(TestItemType2Model item,
java.util.Locale loc)
Holds logic behind getter for dynamic attribute.
|
protected I18NService |
init()
Deprecated.
since ages
|
void |
set(TestItemType2Model item,
java.lang.String value)
Holds logic behind setter for dynamic attribute.
|
void |
set(TestItemType2Model item,
java.lang.String value,
java.util.Locale loc)
Holds logic behind setter for dynamic attribute.
|
void |
setI18NService(I18NService i18nService) |
public DynamicLocalizedAttributesStringSampleBean()
public java.lang.String get(TestItemType2Model item)
get in interface DynamicAttributeHandler<java.lang.String,TestItemType2Model>item - model for which dynamic attribute is declared.public void set(TestItemType2Model item, java.lang.String value)
set in interface DynamicAttributeHandler<java.lang.String,TestItemType2Model>item - model for which dynamic attribute is declared.value - the value which will be used by setter logic.public java.lang.String get(TestItemType2Model item, java.util.Locale loc)
get in interface DynamicLocalizedAttributeHandler<java.lang.String,TestItemType2Model>item - model for which dynamic attribute is declared.loc - the locale for the given attributepublic void set(TestItemType2Model item, java.lang.String value, java.util.Locale loc)
set in interface DynamicLocalizedAttributeHandler<java.lang.String,TestItemType2Model>item - model for which dynamic attribute is declared.value - the value which will be used by setter logic.loc - the locale for the given attributepublic void setI18NService(I18NService i18nService)
@Deprecated protected I18NService init()
Copyright © 2018 SAP SE. All Rights Reserved.