public class BindingsTemplate extends Object
The user is required to call @{link resolveBindings} when in the scope that the resulting bindings will be used.
| Constructor and Description |
|---|
BindingsTemplate() |
BindingsTemplate(Map<String,String> specs) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFieldBinding(String bindPointName,
String genSpec)
Add a named binding specifier to the template
|
void |
addFieldBindings(Map<String,String> bindPairs)
Add multiple named bindings to the template
|
List<String> |
getBindPointNames() |
List<String> |
getDataMapperSpecs() |
Bindings |
resolveBindings()
Use the data mapping library and the specifier to create instances of data mapping functions.
|
String |
toString() |
String |
toString(Object[] values) |
public void addFieldBinding(String bindPointName, String genSpec)
bindPointName - the name associated with the binding specifiergenSpec - the binding specifierpublic void addFieldBindings(Map<String,String> bindPairs)
bindPairs - A map of named binding specifierspublic Bindings resolveBindings()
Copyright © 2018. All rights reserved.