export class XDataTreeValue {
    // only pass path if we can select it.
    constructor(name, path, children) {
        this.children = [];
        this.name = name;
        this.path = path;
        this.children = children !== null && children !== void 0 ? children : [];
    }
    isSelectable() {
        return this.path !== undefined;
    }
}
//# sourceMappingURL=XDataTreeValue.js.map