package ru.yandex.wmconsole.data.wrappers;

import ru.yandex.wmconsole.data.info.KPIInfo;
import ru.yandex.wmtools.common.util.XmlDataWrapper;

/**
 * @author avhaliullin
 */
public class KPIInfoWrapper extends XmlDataWrapper<KPIInfo> {
    private static final String TAG_ROOT = "kpi-info";
    private static final String ATTRIBUTE_ID = "id";
    private static final String ATTRIBUTE_NAME = "name";

    public KPIInfoWrapper(KPIInfo data) {
        super(data, TAG_ROOT, ATTRIBUTE_ID, String.valueOf(data.getId()), ATTRIBUTE_NAME, data.getName());
    }

    @Override
    protected void doToXml(StringBuilder result) {
    }
}
