The Translator is a simple class which translates manager attributes to
worker attributes. The class assumes that for each manager attribute name
there is one or more worker attributes that should be inserted. This class's
translate method will iterate over all manager attribute names, and if
present insert the appropriate worker attribute(s). If an attribute with the
worker name is already present this class will inspect the attribute to see
if it has the same value. If it does, it will log a debug message and move
on. If the worker attribute does not have the same value the translator will
log a warning and replace the worker value with the manager value.
Translate the given attribute table to a worker table. Every manager
attribute found will be removed, renamed to the worker name and then
reinserted. If there is already a worker-named attribute present this
method will check to see if the two attributes have the same value. If the
values match a debug message will be logged. If the value do not match a
warning message will be logged, and the attribute will not be modified.
tbl - The Attribute table to translate.
public void addTuple(java.lang.String mgrName,