import { IPSDEMSLogicLinkCond } from './ipsdemslogic-link-cond'; import { IPSDEMSLogicLinkGroupCond } from './ipsdemslogic-link-group-cond'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSDEMSLogicLinkGroupCondImpl extends PSModelObjectImpl implements IPSDEMSLogicLinkGroupCond { get codeName(): string { return this.M.codeName; } get dynaModelFilePath(): string { return this.M.dynaModelFilePath; } get groupOP(): 'AND' | 'OR' { return this.M.groupOP; } get logicType(): 'GROUP' | 'SINGLE' { return this.M.logicType; } get mOSFilePath(): string { return this.M.mOSFilePath; } get memo(): string { return this.M.memo; } get name(): string { return this.M.name; } protected psdemslogiclinkconds: IPSDEMSLogicLinkCond[] | null = null; getPSDEMSLogicLinkConds(): IPSDEMSLogicLinkCond[] | null { if (this.psdemslogiclinkconds == null) { this.psdemslogiclinkconds = this.fillChildListModel(this.M.getPSDEMSLogicLinkConds, 'dataentity.logic.IPSDEMSLogicLinkCond') as IPSDEMSLogicLinkCond[]; } return this.psdemslogiclinkconds; } get psDEMSLogicLinkConds(): IPSDEMSLogicLinkCond[] | null { return this.getPSDEMSLogicLinkConds(); } findPSDEMSLogicLinkCond(objKey: any): IPSDEMSLogicLinkCond | null { return this.getPSModel5('dataentity.logic.IPSDEMSLogicLinkCond', this.getPSDEMSLogicLinkConds(), objKey) as IPSDEMSLogicLinkCond; } 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 notMode(): boolean { return this.M.notMode != null ? this.M.notMode : false; } get cls(): string { return 'PSDEMSLogicLinkGroupCondImpl'; } instanceof(cls: string): boolean { if (cls == 'dataentity.logic.IPSDEMSLogicLinkGroupCond') return true; return super.instanceof(cls); } }