Dynamic Values in a Map



Hi,
I want to put some dynamic values in a map. For example suppose there
are two messages, MessageA, and MessageB of both same type and one
atrribute say Status. for MessageA I want to set status ="Recieved",
and for MessagB I want to use Status="Approved"

Any help will be highly appreciated.

.