@Override
	DBRecord getSettingsRecord(long associationId, String name) throws IOException {
		short nameIndex = getNameIndex(name);
		if (nameIndex < MIN_NAME_INDEX) {
			return null; // not found - name not defined
		}
		for (Field key : getSettingsKeys(associationId)) {
			DBRecord rec = settingsTable.getRecord(key);
			if (rec.getShortValue(V1_SETTINGS_NAME_INDEX_COL) == nameIndex) {
				return rec;
			}
		}
		return null;
	}
Get previously assigned name index.
@param name setting name
@return name index or a value less than {@code #MIN_NAME_INDEX} if not defined
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SettingsDBAdapterV1.java