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

class MetaDecreeChangeValue extends ReferentClass {
    
    static initialize() {
        const DecreeChangeValueReferent = require("./../DecreeChangeValueReferent");
        MetaDecreeChangeValue.GLOBAL_META = new MetaDecreeChangeValue();
        let fi = MetaDecreeChangeValue.GLOBAL_META.addFeature(DecreeChangeValueReferent.ATTR_KIND, "Тип", 1, 1);
        fi.addValue(DecreeChangeValueKind.TEXT.toString(), "Текст", null, null);
        fi.addValue(DecreeChangeValueKind.WORDS.toString(), "Слова", null, null);
        fi.addValue(DecreeChangeValueKind.DEFINITION.toString(), "Определение", null, null);
        fi.addValue(DecreeChangeValueKind.ROBUSTWORDS.toString(), "Слова (неточно)", null, null);
        fi.addValue(DecreeChangeValueKind.NUMBERS.toString(), "Цифры", null, null);
        fi.addValue(DecreeChangeValueKind.BLOCK.toString(), "Блок", null, null);
        fi.addValue(DecreeChangeValueKind.EXTAPPENDIX.toString(), "Внешнее приложение", null, null);
        MetaDecreeChangeValue.KIND_FEATURE = fi;
        MetaDecreeChangeValue.GLOBAL_META.addFeature(DecreeChangeValueReferent.ATTR_VALUE, "Значение", 1, 1);
        MetaDecreeChangeValue.GLOBAL_META.addFeature(DecreeChangeValueReferent.ATTR_NEWITEM, "Новый структурный элемент", 0, 0);
        MetaDecreeChangeValue.GLOBAL_META.addFeature(DecreeChangeValueReferent.ATTR_BEGINCHAR, "Начальная позиция текста", 0, 0);
        MetaDecreeChangeValue.GLOBAL_META.addFeature(DecreeChangeValueReferent.ATTR_ENDCHAR, "Конечная позиция текста", 0, 0);
    }
    
    get name() {
        const DecreeChangeValueReferent = require("./../DecreeChangeValueReferent");
        return DecreeChangeValueReferent.OBJ_TYPENAME;
    }
    
    get caption() {
        return "Значение изменения СЭ НПА";
    }
    
    getImageId(obj = null) {
        return MetaDecreeChangeValue.IMAGE_ID;
    }
    
    static static_constructor() {
        MetaDecreeChangeValue.KIND_FEATURE = null;
        MetaDecreeChangeValue.IMAGE_ID = "decreechangevalue";
        MetaDecreeChangeValue.GLOBAL_META = null;
    }
}


MetaDecreeChangeValue.static_constructor();

module.exports = MetaDecreeChangeValue