protected function generateField($fieldType, $fieldId, array $labels)
    {
        $field = new FieldType();
        $field->setType($fieldType);
        $field->setFieldId($fieldId);
        $field->setDefaultValue(null);
        $field->setSearchable(true);
        $field->setLabels($labels);

        return $field;
    }