@tripsnek/tmf
Version:
TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)
44 lines • 954 B
JavaScript
import { ENamedElementImpl } from './enamed-element-impl';
export class EEnumLiteralImpl extends ENamedElementImpl {
value;
eEnum;
literal;
instance;
constructor(eEnum, literal, value) {
super(literal);
if (eEnum)
this.eEnum = eEnum;
if (literal)
this.literal = literal;
if (value !== undefined)
this.value = value;
}
getEEnum() {
return this.eEnum;
}
setEEnum(eenum) {
this.eEnum = eenum;
}
getLiteral() {
return this.literal;
}
setLiteral(value) {
this.literal = value;
}
getValue() {
return this.value;
}
setValue(value) {
this.value = value;
}
getInstance() {
return this.instance;
}
setInstance(value) {
this.instance = value;
}
eContainer() {
return this.eEnum;
}
}
//# sourceMappingURL=eenum-literal-impl.js.map