getEnumByValue

Retrieves the enum by its parameter value.