Ejemplo n.º 1
0
 /**
  * Returns the '<em><b>Rating</b></em>' literal with the specified integer value.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @param value the value to use to get the enum instance
  * @return the Rating, the literal enum
  * @generated
  */
 public static Rating get(int value) {
   for (Rating enumInstance : VALUES_ARRAY) {
     if (enumInstance.getValue() == value) {
       return enumInstance;
     }
   }
   return null;
 }