UNPKG

@tripsnek/tmf

Version:

TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)

19 lines 976 B
import { EStructuralFeature } from './estructural-feature.js'; /** * Represents a reference to another model object. References can be * containment (parent-child) relationships or cross-references, and * may have bidirectional opposites that are automatically maintained. */ export interface EReference extends EStructuralFeature { /** Returns true if this reference represents the container side of a containment. */ isContainer(): boolean; /** Returns true if this reference represents a containment relationship. */ isContainment(): boolean; /** Sets whether this reference represents a containment relationship. */ setContainment(containment: boolean): void; /** Returns the opposite reference in a bidirectional relationship, if any. */ getEOpposite(): EReference | undefined; /** Sets the opposite reference in a bidirectional relationship. */ setEOpposite(value: EReference): void; } //# sourceMappingURL=ereference.d.ts.map