You use the Attributes adapter to map the value of an attribute to a parameter or to map a parameter to the value of an attribute.
About the Attributes Adapter Mapping Attributes and Parameters