/** * Returns the '<em><b>Rating</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @param name the name to use to get the enum instance * @return the Rating, the literal enum class * @generated */ public static Rating getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { Rating result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; }