/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ItemType createItemTypeFromString(EDataType eDataType, String initialValue) { ItemType result = ItemType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @since 1.0 * @generated */ public ItemType createItemTypeFromString(EDataType eDataType, String initialValue) { ItemType result = ItemType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ return result; }