/*
 * 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 MetaTitleInfo extends ReferentClass {
    
    static initialize() {
        const TitlePageReferent = require("./../TitlePageReferent");
        MetaTitleInfo.globalMeta = new MetaTitleInfo();
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_NAME, "Название", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_TYPE, "Тип", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_AUTHOR, "Автор", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_SUPERVISOR, "Руководитель", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_EDITOR, "Редактор", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_CONSULTANT, "Консультант", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_OPPONENT, "Оппонент", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_AFFIRMANT, "Утверждающий", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_TRANSLATOR, "Переводчик", 0, 0);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_ORG, "Организация", 0, 1);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_STUDENTYEAR, "Номер курса", 0, 1);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_DATE, "Дата", 0, 1);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_CITY, "Город", 0, 1);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_SPECIALITY, "Специальность", 0, 1);
        MetaTitleInfo.globalMeta.addFeature(TitlePageReferent.ATTR_ATTR, "Атрибут", 0, 0);
    }
    
    get name() {
        const TitlePageReferent = require("./../TitlePageReferent");
        return TitlePageReferent.OBJ_TYPENAME;
    }
    
    get caption() {
        return "Заголовок";
    }
    
    getImageId(obj = null) {
        return MetaTitleInfo.TITLE_INFO_IMAGE_ID;
    }
    
    static static_constructor() {
        MetaTitleInfo.TITLE_INFO_IMAGE_ID = "titleinfo";
        MetaTitleInfo.globalMeta = null;
    }
}


MetaTitleInfo.static_constructor();

module.exports = MetaTitleInfo