public class AtpFormulaStringHandler extends Object implements DynamicAttributeHandler<String,AtpFormulaModel>
AtpFormulaModel.FORMULASTRING| Constructor and Description |
|---|
AtpFormulaStringHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
get(AtpFormulaModel atpFormulaModel)
Holds logic behind getter for dynamic attribute.
|
protected void |
prepareFormulaString(AtpFormulaModel atpFormulaModel,
StringBuilder formulaString,
Set<PropertyDescriptor> propertyDescriptors)
Prepares formula string from atpformula variables
|
void |
set(AtpFormulaModel atpFormulaModel,
String formulaString)
Holds logic behind setter for dynamic attribute.
|
public String get(AtpFormulaModel atpFormulaModel)
DynamicAttributeHandlerget in interface DynamicAttributeHandler<String,AtpFormulaModel>atpFormulaModel - model for which dynamic attribute is declared.protected void prepareFormulaString(AtpFormulaModel atpFormulaModel, StringBuilder formulaString, Set<PropertyDescriptor> propertyDescriptors)
atpFormulaModel - formulaString - propertyDescriptors - public void set(AtpFormulaModel atpFormulaModel, String formulaString)
DynamicAttributeHandlerset in interface DynamicAttributeHandler<String,AtpFormulaModel>atpFormulaModel - model for which dynamic attribute is declared.formulaString - the value which will be used by setter logic.Copyright © 2017 SAP SE. All Rights Reserved.