Beispiel #1
0
 /**
  * Returns the '<em><b>Frame Type</b></em>' literal with the specified name.
  * <!-- begin-user-doc -->
  * <!--
  * end-user-doc -->
  *
  * @generated
  */
 public static FrameType getByName(String name) {
   for (FrameType result : VALUES_ARRAY) {
     if (result.getName().equals(name)) {
       return result;
     }
   }
   return null;
 }
Beispiel #2
0
 /**
  * Returns the '<em><b>Frame Type</b></em>' literal with the specified literal value.
  * <!-- begin-user-doc -->
  * <!--
  * end-user-doc -->
  *
  * @generated
  */
 public static FrameType get(String literal) {
   for (FrameType result : VALUES_ARRAY) {
     if (result.toString().equals(literal)) {
       return result;
     }
   }
   return null;
 }