public class DynamicAttributesIntSampleBean extends java.lang.Object implements DynamicAttributeHandler<java.lang.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 |
|---|---|
java.lang.Integer |
get(TestItemType2Model model)
Holds logic behind getter for dynamic attribute.
|
void |
set(TestItemType2Model model,
java.lang.Integer value)
Holds logic behind setter for dynamic attribute.
|
public java.lang.Integer get(TestItemType2Model model)
get in interface DynamicAttributeHandler<java.lang.Integer,TestItemType2Model>model - model for which dynamic attribute is declared.public void set(TestItemType2Model model, java.lang.Integer value)
set in interface DynamicAttributeHandler<java.lang.Integer,TestItemType2Model>model - model for which dynamic attribute is declared.value - the value which will be used by setter logic.Copyright © 2018 SAP SE. All Rights Reserved.