/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.buckminster.model.common.impl;
import java.util.Locale;
import java.util.Map;
import org.eclipse.buckminster.model.common.CommonPackage;
import org.eclipse.buckminster.model.common.ToLower;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc --> An implementation of the model object '
* <em><b>To Lower</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public class ToLowerImpl extends ValueFilterImpl implements ToLower {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
protected ToLowerImpl() {
super();
}
@Override
public String checkedGetValue(Map<String, String> props, int recursionGuard) {
String resolved = this.checkedGetSourceValue(props, recursionGuard);
return (resolved == null || NO_VALUE.equals(resolved)) ? NO_VALUE : resolved.toLowerCase(Locale.ENGLISH);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return CommonPackage.Literals.TO_LOWER;
}
} // ToLowerImpl