"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AttributeContextReferencePersistence = void 0;
const internal_1 = require("../../internal");
const cdmObjectRefPersistence_1 = require("./cdmObjectRefPersistence");
class AttributeContextReferencePersistence extends cdmObjectRefPersistence_1.cdmObjectRefPersistence {
    static fromData(ctx, object) {
        if (!(typeof object === 'string')) {
            return;
        }
        return ctx.corpus.MakeRef(internal_1.cdmObjectType.attributeContextRef, object, undefined);
    }
}
exports.AttributeContextReferencePersistence = AttributeContextReferencePersistence;
//# sourceMappingURL=AttributeContextReferencePersistence.js.map