UNPKG

ui5plugin-parser

Version:
30 lines (29 loc) 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AbstractCustomClass = void 0; const AbstractBaseClass_1 = require("./AbstractBaseClass"); class AbstractCustomClass extends AbstractBaseClass_1.AbstractBaseClass { constructor() { super(...arguments); this._cache = {}; } setCache(cacheName, cacheValue) { this._cache[cacheName] = cacheValue; } getCache(cacheName) { return this._cache[cacheName]; } resetCache() { this._cache = {}; } _fillUI5Metadata(metadataObject) { this.fields = this._fillFields(metadataObject); this.methods = this._fillMethods(metadataObject); this.aggregations = this._fillAggregations(metadataObject); this.events = this._fillEvents(metadataObject); this.properties = this._fillProperties(metadataObject); this.associations = this._fillAssociations(metadataObject); this.interfaces = this._fillInterfaces(metadataObject); } } exports.AbstractCustomClass = AbstractCustomClass;