import { IPSDEFVRCondition } from './ipsdefvrcondition'; import { IPSDEFVRGroupCondition } from './ipsdefvrgroup-condition'; import { PSDEFVRConditionImpl } from './psdefvrcondition-impl'; export class PSDEFVRGroupConditionImpl extends PSDEFVRConditionImpl implements IPSDEFVRGroupCondition { get condOp(): 'AND' | 'OR' { return this.M.condOp; } protected psdefvrconditions: IPSDEFVRCondition[] | null = null; getPSDEFVRConditions(): IPSDEFVRCondition[] | null { if (this.psdefvrconditions == null) { this.psdefvrconditions = this.fillChildListModel(this.M.getPSDEFVRConditions, 'dataentity.defield.valuerule.IPSDEFVRCondition') as IPSDEFVRCondition[]; } return this.psdefvrconditions; } get psDEFVRConditions(): IPSDEFVRCondition[] | null { return this.getPSDEFVRConditions(); } findPSDEFVRCondition(objKey: any): IPSDEFVRCondition | null { return this.getPSModel5('dataentity.defield.valuerule.IPSDEFVRCondition', this.getPSDEFVRConditions(), objKey) as IPSDEFVRCondition; } get cls(): string { return 'PSDEFVRGroupConditionImpl'; } instanceof(cls: string): boolean { if (cls == 'dataentity.defield.valuerule.IPSDEFVRGroupCondition') return true; return super.instanceof(cls); } }