@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
21 lines (20 loc) • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserDataSourceProperty = void 0;
const DataSourceProperty_1 = require("./DataSourceProperty");
class UserDataSourceProperty extends DataSourceProperty_1.DataSourceProperty {
constructor(dataSourceId, enterprisePropertyBindingId, userPropertyBindingId, builtInId, builtInInternalName) {
super(dataSourceId);
this.enterprisePropertyBindingId = enterprisePropertyBindingId;
this.userPropertyBindingId = userPropertyBindingId;
this.builtInId = builtInId;
this.builtInInternalName = builtInInternalName;
this.isEqual = (property) => {
return this.dataSourceId == property.dataSourceId &&
this.enterprisePropertyBindingId == property.enterprisePropertyBindingId &&
this.userPropertyBindingId == property.userPropertyBindingId &&
this.builtInInternalName == property.builtInInternalName;
};
}
}
exports.UserDataSourceProperty = UserDataSourceProperty;