public static CatalogField forKKey(KKey kKey) { CatalogField result = null; FIELDS_BY_KEY.TryGetValue(kKey, out result); return(result); }
private KKeyMetadata findMetadata() { if (getLevel() == Level.CATALOG) { return(CatalogField.getMetadataFor(this)); } else { return(KKeyRepository.getInstance().getMetadataFor(this)); } }
public static KKeyMetadata getMetadataFor(KKey kKey) { CatalogField field = forKKey(kKey); return(field?.Metadata); }