The companion object for a MavEnum.
Returns the entry corresponding to the given value if it exists in the enum, null otherwise.