import { WFPSDEUIActionImpl } from './wfpsdeuiaction-impl'; import { IPSWorkflow } from '../../wf/ipsworkflow'; import { IPSWFUIAction } from '../../wf/uiaction/ipswfuiaction'; export class RollbackWFPSDEUIActionImpl extends WFPSDEUIActionImpl implements IPSWFUIAction { protected psworkflow: IPSWorkflow | null = null; getPSWorkflow(): IPSWorkflow | null { if (this.psworkflow != null) return this.psworkflow; const value = this.M.getPSWorkflow; if (value == null) { return null; } this.psworkflow = this.getPSModel4('wf.IPSWorkflow', value, 'getPSWorkflow') as IPSWorkflow; return this.psworkflow; } get psWorkflow(): IPSWorkflow | null { return this.getPSWorkflow(); } getPSWorkflowMust(): IPSWorkflow { const value = this.getPSWorkflow(); if (value == null) { throw new Error('[getPSWorkflow]返回空值'); } return value; } }