import { IPSDEUIEndLogic } from './ipsdeuiend-logic'; import { IPSDEUILogic } from './ipsdeuilogic'; import { IPSDEUILogicParam } from './ipsdeuilogic-param'; import { PSDEUILogicNodeImpl } from './psdeuilogic-node-impl'; export class PSDEUIEndLogicImpl extends PSDEUILogicNodeImpl implements IPSDEUIEndLogic { get dstFieldName(): string { return this.M.dstFieldName; } get rawValue(): string { return this.M.rawValue; } get rawValueStdDataType(): 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.rawValueStdDataType != null ? this.M.rawValueStdDataType : 0; } protected returnparam: IPSDEUILogicParam | null = null; getReturnParam(): IPSDEUILogicParam | null { if (this.returnparam != null) return this.returnparam; const value = this.M.getReturnParam; if (value == null) { return null; } const ipsdeuilogic = this.getParentPSModelObject('dataentity.logic.IPSDEUILogic') as IPSDEUILogic; if (ipsdeuilogic != null) { this.returnparam = ipsdeuilogic.findPSDEUILogicParam(value); } return this.returnparam; } get returnParam(): IPSDEUILogicParam | null { return this.getReturnParam(); } getReturnParamMust(): IPSDEUILogicParam { const value = this.getReturnParam(); if (value == null) { throw new Error('未指定返回参数'); } return value; } get returnType(): 'NONEVALUE' | 'NULLVALUE' | 'SRCVALUE' | 'LOGICPARAM' | 'LOGICPARAMFIELD' | 'BREAK' { return this.M.returnType; } get cls(): string { return 'PSDEUIEndLogicImpl'; } instanceof(cls: string): boolean { if (cls == 'dataentity.logic.IPSDEUIEndLogic') return true; return super.instanceof(cls); } }