コード例 #1
0
ファイル: BpsimFactoryImpl.java プロジェクト: bobolau/jbpm
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 public ResultType createResultTypeFromString(EDataType eDataType, String initialValue) {
   ResultType result = ResultType.get(initialValue);
   if (result == null)
     throw new IllegalArgumentException(
         "The value '"
             + initialValue
             + "' is not a valid enumerator of '"
             + eDataType.getName()
             + "'");
   return result;
 }