/*
 * SDK Pullenti Lingvo, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software.
 * This class is generated using the converter Unisharping (www.unisharping.ru) from Pullenti C#.NET project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */


const ReferentClass = require("./../metadata/ReferentClass");

class MetaChemical extends ReferentClass {
    
    static initialize() {
        const ChemicalFormulaReferent = require("./ChemicalFormulaReferent");
        MetaChemical.GLOBAL_META = new MetaChemical();
        MetaChemical.GLOBAL_META.addFeature(ChemicalFormulaReferent.ATTR_VALUE, "Формула", 0, 1);
        MetaChemical.GLOBAL_META.addFeature(ChemicalFormulaReferent.ATTR_NAME, "Текстовое определение", 0, 0);
    }
    
    get name() {
        const ChemicalFormulaReferent = require("./ChemicalFormulaReferent");
        return ChemicalFormulaReferent.OBJ_TYPENAME;
    }
    
    get caption() {
        return "Химическая формула";
    }
    
    getImageId(obj = null) {
        return MetaChemical.IMAGE_ID;
    }
    
    static static_constructor() {
        MetaChemical.TYPES = null;
        MetaChemical.IMAGE_ID = "chemical";
        MetaChemical.GLOBAL_META = null;
    }
}


MetaChemical.static_constructor();

module.exports = MetaChemical