Sets the local column names.

@param array $localColumnNames The local column names.
490149
public function setLocalColumnNames(array $localColumnNames)
    {
        $this->localColumnNames = array();

        foreach ($localColumnNames as $localColumnName) {
            $this->addLocalColumnName($localColumnName);
        }
    }
977472
public function addColumnMapping(ColumnMap $local, $foreign)
    {
        $this->localColumns[] = $local;

        if ($foreign instanceof ColumnMap) {
            $this->foreignColumns[] = $foreign;
            $this->localValues[] = null;
        } else {
            $this->localValues[] = $foreign;
            $this->foreignColumns[] = null;
        }
    }
655190
public function isLocalColumnsRequired()
    {
        foreach ($this->localColumns as $columnName) {
            if (!$this->parentTable->getColumn($columnName)->isNotNull()) {
                return false;
            }
        }

        return true;
    }
494171
public function setName($strName)
    {
        parent::setName($strName);

        if (is_object($this->__validator)) {
            $this->__validator->setFieldName($strName);
        }
    }
362566
public void setLocalNetwork(String localNetwork) {
        IPAddressType currNetworkType = IPAddressCompare.getAddressType(localNetwork);
        this.currNetworkType = currNetworkType;
        this.localNetworkString = localNetwork;

        if (currNetworkType == IPAddressType.IPV4) {
            this.localNetwork = IPAddressCompare.addressToByteArrayV4(localNetwork);
        } else if (currNetworkType == IPAddressType.IPV6) {
            this.localNetwork = IPAddressCompare.addressToByteArrayV6(localNetwork);
        }
    }
615770
public function setColumns($columns)
    {
        if (is_string($columns)) {
            $columns = explode(',', $columns);
            $columns = ArrayMethods::trim($columns);
        }
        $this->_columnNames = $columns;
        return $this;
    }
1104698
public void setLocales(List<Locale> locales) {

        m_textSearchFields = new ArrayList<String>();
        if ((locales == null) || locales.isEmpty()) {
            m_textSearchFields.add(CmsSearchField.FIELD_TEXT);
            if (getFilterQueries() != null) {
                for (String fq : getFilterQueries()) {
                    if (fq.startsWith(CmsSearchField.FIELD_CONTENT_LOCALES + ":")) {
                        removeFilterQuery(fq);
                    }
                }
            }
        } else {
            List<String> localeStrings = new ArrayList<String>();
            for (Locale locale : locales) {
                localeStrings.add(locale.toString());
                if (!m_textSearchFields.contains("text")
                    && !OpenCms.getLocaleManager().getAvailableLocales().contains(locale)) {
                    // if the locale is not configured in the opencms-system.xml
                    // there will no localized text fields, so take the general one
                    m_textSearchFields.add("text");
                } else {
                    m_textSearchFields.add("text_" + locale);
                }
            }
            addFilterQuery(CmsSearchField.FIELD_CONTENT_LOCALES, localeStrings, false, false);
        }
        if (m_text != null) {
            setText(m_text);
        }
    }
1292980
public function setSortColumns(array $columns)
    {
        $this->sortColumns = [];
        $this->mappingSortColumns = [];

        foreach ($columns as $i => $column) {
            if (!isset($column['name'])) {
                throw new InvalidArgumentException('The "name" property of sort column must be present ("sort" property is optional)');
            }

            if (isset($column['sort']) && 'asc' !== $column['sort'] && 'desc' !== $column['sort']) {
                throw new InvalidArgumentException('The "sort" property of sort column must have "asc" or "desc" value');
            }

            if ($this->isSorted($column['name'])) {
                throw new InvalidArgumentException(sprintf('The "%s" column is already sorted', $column['name']));
            }

            $this->sortColumns[] = $column;
            $this->mappingSortColumns[$column['name']] = $i;
        }

        return $this;
    }
1234061
public function setRightColumnName(string $rightColumnName): void
    {
        $rightColumnName = trim($rightColumnName);

        if (empty($rightColumnName)) {
            throw new InvalidArgumentException('rightColumnName cannot be empty');
        }

        $this->rightColumnName = $rightColumnName;
    }
417955
public function setClassNames(array $classNames): void
    {
        $this->classNames = count($classNames) > 0 ? array_combine($classNames, array_fill(0, count($classNames), true)) : [];
    }
287939
public HSlicePredicate<N> setColumnNames(Collection<N> columnNames) {
    this.columnNames = columnNames;
    predicateType = PredicateType.ColumnNames;
    return this;
  }
282373
protected function setColumnProperties()
    {
        // First of all, add the id (or any other primary key), if not available
        if (! $this->requestedColumns->contains('name', $this->primaryColumn)) {
            $this->selectColumns[] = $this->primaryColumn;
        }

        $this->requestedColumns->each(function ($column) {
            $this->setColumnPropertiesFor($column);
        });
    }
63589
public function setColumnNames(array $columnNames)
    {
        $this->columnNames = array();

        foreach ($columnNames as $columnName) {
            $this->addColumnName($columnName);
        }
    }
1364932
public void setNamedQueries(java.util.Collection<NamedQuery> namedQueries) {
        if (namedQueries == null) {
            this.namedQueries = null;
            return;
        }

        this.namedQueries = new java.util.ArrayList<NamedQuery>(namedQueries);
    }
48945
@Override
	public void setName(String name, java.util.Locale locale) {
		_commerceCountry.setName(name, locale);
	}
615423
def setColumns(self, columns):
        
        self.__columns = {}
        for name, column in columns.items():
            self.__columns[name] = column
            column.setSchema(self)
56065
protected function _setColumnNumber($columnNumber)
    {
        if ($columnNumber !== null) {
            try {
                $columnNumber = $this->_normalizeInt($columnNumber);
            } catch (RootException $e) {
                throw $this->_createInvalidArgumentException($this->__('Invalid column number'), null, $e, $columnNumber);
            }

            if ($columnNumber < 1) {
                throw $this->_createInvalidArgumentException($this->__('Column number must be positive'), null, null, $columnNumber);
            }
        }

        $this->columnNumber = $columnNumber;
    }