public class UserDisplayNameLocalizedAttributeHandler extends Object implements DynamicLocalizedAttributeHandler<String,UserModel>
| Constructor and Description |
|---|
UserDisplayNameLocalizedAttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
get(UserModel model)
Holds logic behind getter for dynamic attribute.
|
String |
get(UserModel model,
Locale loc)
Holds logic behind getter for dynamic attribute.
|
void |
set(UserModel model,
String value)
Holds logic behind setter for dynamic attribute.
|
void |
set(UserModel model,
String value,
Locale loc)
Holds logic behind setter for dynamic attribute.
|
public UserDisplayNameLocalizedAttributeHandler()
public String get(UserModel model)
DynamicAttributeHandlerget in interface DynamicAttributeHandler<String,UserModel>model - model for which dynamic attribute is declared.public void set(UserModel model, String value)
DynamicAttributeHandlerset in interface DynamicAttributeHandler<String,UserModel>model - model for which dynamic attribute is declared.value - the value which will be used by setter logic.public String get(UserModel model, Locale loc)
DynamicLocalizedAttributeHandlerget in interface DynamicLocalizedAttributeHandler<String,UserModel>model - model for which dynamic attribute is declared.loc - the locale for the given attributepublic void set(UserModel model, String value, Locale loc)
DynamicLocalizedAttributeHandlerset in interface DynamicLocalizedAttributeHandler<String,UserModel>model - model for which dynamic attribute is declared.value - the value which will be used by setter logic.loc - the locale for the given attributeCopyright © 2017 SAP SE. All Rights Reserved.