-
Notifications
You must be signed in to change notification settings - Fork 208
/
UnitSystem.ts
31 lines (27 loc) · 991 Bytes
/
UnitSystem.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Metadata
*/
import { SchemaItemType } from "../ECObjects";
import { Schema } from "./Schema";
import { SchemaItem } from "./SchemaItem";
/**
* @beta
*/
export class UnitSystem extends SchemaItem {
public override readonly schemaItemType!: SchemaItemType.UnitSystem; // eslint-disable-line
constructor(schema: Schema, name: string) {
super(schema, name);
this.schemaItemType = SchemaItemType.UnitSystem;
}
}
/**
* @internal
* Used for schema editing.
*/
export abstract class MutableUnitSystem extends UnitSystem {
public abstract override setDisplayLabel(displayLabel: string): void;
}