1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const javaUtil_1 = require("./java/javaUtil");
|
4 | class CodegenModel {
|
5 | constructor() {
|
6 | this.vars = [];
|
7 | this.requiredVars = [];
|
8 | this.optionalVars = [];
|
9 | this.readOnlyVars = [];
|
10 | this.readWriteVars = [];
|
11 | this.parentVars = [];
|
12 | this.mandatory = javaUtil_1.newHashSet();
|
13 | this.imports = javaUtil_1.newHashSet();
|
14 | this.hasOnlyReadOnly = true;
|
15 | this.allVars = this.vars;
|
16 | this.allMandatory = this.mandatory;
|
17 | }
|
18 | toString() {
|
19 | return `${this.name}(${this.classname})`;
|
20 | }
|
21 | }
|
22 | exports.default = CodegenModel;
|
23 |
|
\ | No newline at end of file |