public class UserCurrentDateAttributeHandler extends Object implements DynamicAttributeHandler<Date,UserModel>
| Constructor and Description |
|---|
UserCurrentDateAttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Date |
get(UserModel model)
Holds logic behind getter for dynamic attribute.
|
void |
set(UserModel model,
Date value)
Holds logic behind setter for dynamic attribute.
|
void |
setTimeService(TimeService timeService) |
public Date get(UserModel model)
DynamicAttributeHandlerget in interface DynamicAttributeHandler<Date,UserModel>model - model for which dynamic attribute is declared.public void set(UserModel model, Date value)
DynamicAttributeHandlerset in interface DynamicAttributeHandler<Date,UserModel>model - model for which dynamic attribute is declared.value - the value which will be used by setter logic.public void setTimeService(TimeService timeService)
Copyright © 2017 SAP SE. All Rights Reserved.