export class XData {
    constructor(data, definition) {
        this.data = {};
        if (data)
            this.data = data;
        if (definition)
            this.definition = definition;
    }
    // can be name or name.name
    getValue(name) {
        return Reflect.get(this.data, name);
    }
    // can be name or name.name
    setValue(name, value) {
        Reflect.set(this.data, name, value);
    }
    // returns all data
    getData() {
        return this.data;
    }
    getDataValues(type, isList) {
        return [];
    }
}
//# sourceMappingURL=XData.js.map