metadata: add interface to build associations

A metadata field found in the journal corresponding to an error could be
special in the sense that it may require building specific error
association objects. Add an interface to build such associations.

Take advantage of the fact that every metadata has a corresponding type
defined.

Change-Id: I09e446879667044c009141443fc0dc6fed8a8b18
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
1 file changed