public static function validateFieldName($fieldName)
    {
        if (!is_string($fieldName)) {
            return ValidationResult::fail('The field name must be a' .
                ' string.');
        }

        if (empty(trim($fieldName))) {
            return ValidationResult::fail('The field name must not be' .
                ' null, empty, white spaces or zero.');
        }

        return ValidationResult::pass();
    }