import { IPSDEDQCondition } from './ipsdedqcondition'; import { IPSDEDQGroupCondition } from './ipsdedqgroup-condition'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSDEDQGroupConditionImpl extends PSModelObjectImpl implements IPSDEDQGroupCondition { get codeName(): string { return this.M.codeName; } get condOp(): 'AND' | 'OR' { return this.M.condOp; } get condType(): 'GROUP' | 'SINGLE' | 'CUSTOM' | 'PREDEFINED' { return this.M.condType; } 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 psdedqconditions: IPSDEDQCondition[] | null = null; getPSDEDQConditions(): IPSDEDQCondition[] | null { if (this.psdedqconditions == null) { this.psdedqconditions = this.fillChildListModel(this.M.getPSDEDQConditions, 'dataentity.ds.IPSDEDQCondition') as IPSDEDQCondition[]; } return this.psdedqconditions; } get psDEDQConditions(): IPSDEDQCondition[] | null { return this.getPSDEDQConditions(); } findPSDEDQCondition(objKey: any): IPSDEDQCondition | null { return this.getPSModel5('dataentity.ds.IPSDEDQCondition', this.getPSDEDQConditions(), objKey) as IPSDEDQCondition; } 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 'PSDEDQGroupConditionImpl'; } instanceof(cls: string): boolean { if (cls == 'dataentity.ds.IPSDEDQGroupCondition') return true; return super.instanceof(cls); } }