System Design: enumToString return string if defined in XML file.