/*
 * 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");
const InstrumentParticipantReferent = require("./../InstrumentParticipantReferent");

class InstrumentArtefactMeta extends ReferentClass {
    
    static initialize() {
        const InstrumentArtefactReferent = require("./../InstrumentArtefactReferent");
        InstrumentArtefactMeta.GLOBAL_META = new InstrumentArtefactMeta();
        InstrumentArtefactMeta.GLOBAL_META.addFeature(InstrumentArtefactReferent.ATTR_TYPE, "Тип", 0, 1);
        InstrumentArtefactMeta.GLOBAL_META.addFeature(InstrumentArtefactReferent.ATTR_VALUE, "Значение", 0, 1);
        InstrumentArtefactMeta.GLOBAL_META.addFeature(InstrumentArtefactReferent.ATTR_REF, "Ссылка на объект", 0, 1).showAsParent = true;
    }
    
    get name() {
        return InstrumentParticipantReferent.OBJ_TYPENAME;
    }
    
    get caption() {
        return "Артефакт";
    }
    
    getImageId(obj = null) {
        return InstrumentArtefactMeta.IMAGE_ID;
    }
    
    static static_constructor() {
        InstrumentArtefactMeta.IMAGE_ID = "artefact";
        InstrumentArtefactMeta.GLOBAL_META = null;
    }
}


InstrumentArtefactMeta.static_constructor();

module.exports = InstrumentArtefactMeta