class ValidationUtils {

    public static String dataValueIsValid( String value, DataElement dataElement )
    {
        if ( dataElement == null || dataElement.getValueType() == null )
        {
            return "data_element_or_type_null_or_empty";
        }

        return dataValueIsValid( value, dataElement.getValueType() );
    }

}