Hash method added for all EnumData classes that extends BaseEnumData.