import { IPSAppDEMethodDTO } from './ipsapp-demethod-dto'; import { IPSAppDEMethodReturn } from './ipsapp-demethod-return'; import { IPSAppDataEntity } from './ipsapp-data-entity'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSAppDEMethodReturnImpl extends PSModelObjectImpl implements IPSAppDEMethodReturn { 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; } get name(): string { return this.M.name; } protected psappdemethoddto: IPSAppDEMethodDTO | null = null; getPSAppDEMethodDTO(): IPSAppDEMethodDTO | null { if (this.psappdemethoddto != null) return this.psappdemethoddto; const value = this.M.getPSAppDEMethodDTO; if (value == null) { return null; } const ipsappdataentity = this.getParentPSModelObject('app.dataentity.IPSAppDataEntity') as IPSAppDataEntity; if (ipsappdataentity != null) { this.psappdemethoddto = ipsappdataentity.findPSAppDEMethodDTO(value); } return this.psappdemethoddto; } get psAppDEMethodDTO(): IPSAppDEMethodDTO | null { return this.getPSAppDEMethodDTO(); } getPSAppDEMethodDTOMust(): IPSAppDEMethodDTO { const value = this.getPSAppDEMethodDTO(); if (value == null) { throw new Error('未指定返回DTO对象'); } return value; } get rTMOSFilePath(): string { return this.M.rTMOSFilePath; } get stdDataType(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 { return this.M.stdDataType != null ? this.M.stdDataType : 0; } get type(): 'VOID' | 'SIMPLE' | 'SIMPLES' | 'DTO' | 'DTOS' | 'PAGE' | 'UNKNOWN' | 'USER' | 'USER2' { return this.M.type; } 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 'PSAppDEMethodReturnImpl'; } instanceof(cls: string): boolean { if (cls == 'app.dataentity.IPSAppDEMethodReturn' || cls == 'dataentity.service.IPSDEMethodReturn') return true; return super.instanceof(cls); } }