public class DynamicAttributesIntSampleBean extends Object implements DynamicAttributeHandler<Integer,TestItemType2Model>
int
but this bean defines all the values as Integer. This is by design.| Constructor and Description |
|---|
DynamicAttributesIntSampleBean() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
get(TestItemType2Model model)
Holds logic behind getter for dynamic attribute.
|
void |
set(TestItemType2Model model,
Integer value)
Holds logic behind setter for dynamic attribute.
|
public Integer get(TestItemType2Model model)
get in interface DynamicAttributeHandler<Integer,TestItemType2Model>model - model for which dynamic attribute is declared.public void set(TestItemType2Model model, Integer value)
set in interface DynamicAttributeHandler<Integer,TestItemType2Model>model - model for which dynamic attribute is declared.value - the value which will be used by setter logic.Copyright © 2017 SAP SE. All Rights Reserved.