/*
 * 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# project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */

package com.pullenti.ner.link;

public class MetaLink extends com.pullenti.ner.metadata.ReferentClass {

    public static void initialize() {
        GLOBALMETA = new MetaLink();
        TYPES = GLOBALMETA.addFeature(LinkReferent.ATTR_TYPE, "Тип", 1, 1);
        TYPES.addValue(LinkType.BORN.toString().toLowerCase(), "Рождение", null, null);
        TYPES.addValue(LinkType.FAMILY.toString().toLowerCase(), "Родственник", null, null);
        TYPES.addValue(LinkType.STUDY.toString().toLowerCase(), "Учеба", null, null);
        TYPES.addValue(LinkType.WORK.toString().toLowerCase(), "Работа", null, null);
        TYPES.addValue(LinkType.CONTACT.toString().toLowerCase(), "Контакт", null, null);
        TYPES.addValue(LinkType.DOCUMENT.toString().toLowerCase(), "Документ", null, null);
        TYPES.addValue(LinkType.ADDRESS.toString().toLowerCase(), "Локация", null, null);
        GLOBALMETA.addFeature(LinkReferent.ATTR_PARAM, "Параметр", 0, 1);
        GLOBALMETA.addFeature(LinkReferent.ATTR_OBJECT1, "Первый объект", 1, 1);
        GLOBALMETA.addFeature(LinkReferent.ATTR_OBJECT2, "Второй объект", 1, 1);
        GLOBALMETA.addFeature(LinkReferent.ATTR_DATEFROM, "Начало интервала", 0, 1);
        GLOBALMETA.addFeature(LinkReferent.ATTR_DATETO, "Окончание интервала", 0, 1);
    }

    public static com.pullenti.ner.metadata.Feature TYPES;

    @Override
    public String getName() {
        return LinkReferent.OBJ_TYPENAME;
    }


    @Override
    public String getCaption() {
        return "Связь сущностей";
    }


    public static String IMAGEID = "link";

    @Override
    public String getImageId(com.pullenti.ner.Referent obj) {
        return IMAGEID;
    }

    public static MetaLink GLOBALMETA;
    public MetaLink() {
        super();
    }
}
