/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ClosureType createClosureTypeFromString(EDataType eDataType, String initialValue) { ClosureType result = ClosureType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ClosureType createClosureTypeFromString(EDataType eDataType, String initialValue) { ClosureType result = ClosureType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }