import { IPSAppUIAction } from '../view/ipsapp-uiaction'; import { IPSAppWFUtilUIAction } from './ipsapp-wfutil-uiaction'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSAppWFUtilUIActionImpl extends PSModelObjectImpl implements IPSAppWFUtilUIAction { 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 psappuiaction: IPSAppUIAction | null = null; getPSAppUIAction(): IPSAppUIAction | null { if (this.psappuiaction != null) return this.psappuiaction; const value = this.M.getPSAppUIAction; if (value == null) { return null; } this.psappuiaction = this.getPSModel4('app.view.IPSAppUIAction', value, 'getPSAppUIAction') as IPSAppUIAction; return this.psappuiaction; } get psAppUIAction(): IPSAppUIAction | null { return this.getPSAppUIAction(); } getPSAppUIActionMust(): IPSAppUIAction { const value = this.getPSAppUIAction(); if (value == null) { throw new Error('未指定应用界面行为'); } return value; } get psDEUIActionId(): string { return this.M.getPSDEUIActionId; } getPSDEUIActionId(): string { return this.M.getPSDEUIActionId; } get psWorkflowId(): string { return this.M.getPSWorkflowId; } getPSWorkflowId(): string { return this.M.getPSWorkflowId; } 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 utilType(): | 'SENDBACK' | 'SUPPLYINFO' | 'ADDSTEPBEFORE' | 'ADDSTEPAFTER' | 'TAKEADVICE' | 'SENDCOPY' | 'REASSIGN' | 'USERACTION' | 'USERACTION2' | 'USERACTION3' | 'USERACTION4' | 'USERACTION5' | 'USERACTION6' { return this.M.utilType; } get cls(): string { return 'PSAppWFUtilUIActionImpl'; } instanceof(cls: string): boolean { if (cls == 'app.wf.IPSAppWFUtilUIAction' || cls == 'wf.IPSWFUtilUIAction') return true; return super.instanceof(cls); } }