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