UNPKG

@tripsnek/tmf

Version:

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

15 lines 674 B
import { EOperation } from './eoperation.js'; import { ETypedElementImpl } from '../impl/etyped-element-impl.js'; /** * Represents a parameter of an operation. Parameters have a name, type, * multiplicity constraints, and belong to a specific operation. */ export interface EParameter extends ETypedElementImpl { /** Returns the operation that contains this parameter. */ getEOperation(): EOperation; /** Sets the operation that contains this parameter. */ setEOperation(op: EOperation): void; /** Returns true if this parameter is optional (has a default value or is nullable). */ isOptional(): boolean; } //# sourceMappingURL=eparameter.d.ts.map