@tripsnek/tmf
Version:
TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)
13 lines • 572 B
TypeScript
import { EStructuralFeature } from './estructural-feature.js';
/**
* Represents a data attribute of a class. Attributes hold primitive or
* serializable values such as strings, numbers, or enums, as opposed
* to references which hold other model objects.
*/
export interface EAttribute extends EStructuralFeature {
/** Returns true if this attribute serves as a unique identifier for instances. */
isId(): boolean;
/** Sets whether this attribute serves as a unique identifier. */
setId(value: boolean): void;
}
//# sourceMappingURL=eattribute.d.ts.map