import { IPSAppLan } from './ipsapp-lan'; import { IPSLanguageItem } from '../res/ipslanguage-item'; import { PSModelObjectImpl } from '../psmodel-object-impl'; export class PSAppLanImpl extends PSModelObjectImpl implements IPSAppLan { protected allpslanguageitems: IPSLanguageItem[] | null = null; getAllPSLanguageItems(): IPSLanguageItem[] | null { if (this.allpslanguageitems == null) { this.allpslanguageitems = this.fillChildListModel(this.M.getAllPSLanguageItems, 'res.IPSLanguageItem') as IPSLanguageItem[]; } return this.allpslanguageitems; } get allPSLanguageItems(): IPSLanguageItem[] | null { return this.getAllPSLanguageItems(); } findPSLanguageItem(objKey: any): IPSLanguageItem | null { return this.getPSModel5('res.IPSLanguageItem', this.getAllPSLanguageItems(), objKey) as IPSLanguageItem; } get codeName(): string { return this.M.codeName; } get dynaModelFilePath(): string { return this.M.dynaModelFilePath; } get language(): string { return this.M.language; } get mOSFilePath(): string { return this.M.mOSFilePath; } get memo(): string { return this.M.memo; } get name(): string { return this.M.name; } get orderValue(): number { return this.M.orderValue != null ? this.M.orderValue : 99999; } 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 cls(): string { return 'PSAppLanImpl'; } instanceof(cls: string): boolean { if (cls == 'IPSModelSortable' || cls == 'app.IPSAppLan') return true; return super.instanceof(cls); } }