import { IPSAppDEReport } from '../../app/dataentity/ipsapp-dereport'; import { IPSAppDEReportItem } from '../../app/dataentity/ipsapp-dereport-item'; import { IPSDEReportItem } from './ipsdereport-item'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSDEReportItemImpl extends PSModelObjectImpl implements IPSDEReportItem, IPSAppDEReportItem { get codeName(): string { return this.M.codeName; } get dynaModelFilePath(): string { return this.M.dynaModelFilePath; } get mOSFilePath(): string { return this.M.mOSFilePath; } get memo(): string { return this.M.memo; } protected minorpsappdereport: IPSAppDEReport | null = null; getMinorPSAppDEReport(): IPSAppDEReport | null { if (this.minorpsappdereport != null) return this.minorpsappdereport; const value = this.M.getMinorPSAppDEReport; if (value == null) { return null; } this.minorpsappdereport = this.getPSModel4('app.dataentity.IPSAppDEReport', value, 'getMinorPSAppDEReport') as IPSAppDEReport; return this.minorpsappdereport; } get minorPSAppDEReport(): IPSAppDEReport | null { return this.getMinorPSAppDEReport(); } getMinorPSAppDEReportMust(): IPSAppDEReport { const value = this.getMinorPSAppDEReport(); if (value == null) { throw new Error('未指定关系报表对象'); } return value; } get name(): string { return this.M.name; } get rTMOSFilePath(): string { return this.M.rTMOSFilePath; } get userCat(): string { return this.M.userCat; } get userTag(): string { return this.M.userTag; } get userTag2(): string { return this.M.userTag2; } get userTag3(): string { return this.M.userTag3; } get userTag4(): string { return this.M.userTag4; } get cls(): string { return 'PSDEReportItemImpl'; } instanceof(cls: string): boolean { if (cls == 'app.dataentity.IPSAppDEReportItem' || cls == 'dataentity.report.IPSDEReportItem') return true; return super.instanceof(cls); } }