@tripsnek/tmf
Version:
TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)
22 lines • 594 B
JavaScript
import { ETypedElementImpl } from './etyped-element-impl';
export class EParameterImpl extends ETypedElementImpl {
eOperation;
constructor(name, eType, eOperation) {
super(name, eType);
if (eOperation)
this.eOperation = eOperation;
}
setEOperation(op) {
this.eOperation = op;
}
getEOperation() {
return this.eOperation;
}
isOptional() {
return this.getLowerBound() === 0 && this.getUpperBound() === 1;
}
eContainer() {
return this.eOperation;
}
}
//# sourceMappingURL=eparameter-impl.js.map