/*
 * 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 InstrumentParticipantMeta extends ReferentClass {
    
    static initialize() {
        const InstrumentParticipantReferent = require("./../InstrumentParticipantReferent");
        InstrumentParticipantMeta.GLOBAL_META = new InstrumentParticipantMeta();
        InstrumentParticipantMeta.GLOBAL_META.addFeature(InstrumentParticipantReferent.ATTR_TYPE, "Тип", 0, 1);
        InstrumentParticipantMeta.GLOBAL_META.addFeature(InstrumentParticipantReferent.ATTR_REF, "Ссылка на объект", 0, 1).showAsParent = true;
        InstrumentParticipantMeta.GLOBAL_META.addFeature(InstrumentParticipantReferent.ATTR_DELEGATE, "Ссылка на представителя", 0, 1).showAsParent = true;
        InstrumentParticipantMeta.GLOBAL_META.addFeature(InstrumentParticipantReferent.ATTR_GROUND, "Основание", 0, 1).showAsParent = true;
    }
    
    get name() {
        const InstrumentParticipantReferent = require("./../InstrumentParticipantReferent");
        return InstrumentParticipantReferent.OBJ_TYPENAME;
    }
    
    get caption() {
        return "Участник";
    }
    
    getImageId(obj = null) {
        return InstrumentParticipantMeta.IMAGE_ID;
    }
    
    static static_constructor() {
        InstrumentParticipantMeta.IMAGE_ID = "participant";
        InstrumentParticipantMeta.GLOBAL_META = null;
    }
}


InstrumentParticipantMeta.static_constructor();

module.exports = InstrumentParticipantMeta