import { IPSAppWFUIActionGroupDetail } from '../../app/wf/ipsapp-wfuiaction-group-detail'; import { IPSUIAction } from '../../view/ipsuiaction'; import { IPSWFUIActionGroupDetail } from './ipswfuiaction-group-detail'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSWFUIActionGroupDetailImpl extends PSModelObjectImpl implements IPSWFUIActionGroupDetail, IPSAppWFUIActionGroupDetail { get actionLevel(): 50 | 100 | 200 | 250 { return this.M.actionLevel != null ? this.M.actionLevel : 100; } get codeName(): string { return this.M.codeName; } get detailTag(): string { return this.M.detailTag; } get detailTag2(): string { return this.M.detailTag2; } 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 psuiaction: IPSUIAction | null = null; getPSUIAction(): IPSUIAction | null { if (this.psuiaction != null) return this.psuiaction; const value = this.M.getPSUIAction; if (value == null) { return null; } this.psuiaction = this.getPSModel4('view.IPSUIAction', value, 'getPSUIAction') as IPSUIAction; return this.psuiaction; } get psUIAction(): IPSUIAction | null { return this.getPSUIAction(); } getPSUIActionMust(): IPSUIAction { const value = this.getPSUIAction(); if (value == null) { throw new Error('未指定界面行为对象'); } return value; } get rTMOSFilePath(): string { return this.M.rTMOSFilePath; } get uIActionParamJO(): IModel { return this.M.uIActionParamJO; } 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 addSeparator(): boolean { return this.M.addSeparator; } get showCaption(): boolean { return this.M.showCaption; } get showIcon(): boolean { return this.M.showIcon; } get cls(): string { return 'PSWFUIActionGroupDetailImpl'; } instanceof(cls: string): boolean { if (cls == 'app.wf.IPSAppWFUIActionGroupDetail' || cls == 'view.IPSUIActionGroupDetail' || cls == 'wf.uiaction.IPSWFUIActionGroupDetail') return true; return super.instanceof(cls); } }