@tripsnek/tmf
Version:
TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)
20 lines • 912 B
TypeScript
import { EPackage } from './epackage.js';
import { ENamedElement } from './enamed-element.js';
/**
* Base interface for all type classifiers in the metamodel.
* Represents types that can be used to classify model objects, including
* classes (EClass), data types (EDataType), and enumerations (EEnum).
*/
export interface EClassifier extends ENamedElement {
/** Returns the package that contains this classifier. */
getEPackage(): EPackage;
/** Sets the package that contains this classifier. */
setEPackage(pkg: EPackage): void;
/** Returns the unique ID of this classifier within its package. */
getClassifierId(): number;
/** Sets the unique ID of this classifier within its package. */
setClassifierId(id: number): void;
/** Returns the root package containing this classifier. */
getRootPackage(): EPackage | undefined;
}
//# sourceMappingURL=eclassifier.d.ts.map