public synchronized void setHierarchical(String dimName, boolean v) {DimConfig ft = fieldTypes.get(dimName);if (ft == null) {ft = new DimConfig();fieldTypes.put(dimName, ft);}ft.hierarchical = v;}
public virtual void SetHierarchical(string dimName, bool v){lock (this){if (!fieldTypes.TryGetValue(dimName, out DimConfig fieldType)){fieldTypes[dimName] = new DimConfig { IsHierarchical = v };}else{fieldType.IsHierarchical = v;}}}