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