import { IPSDEFInputTip } from './ipsdefinput-tip'; import { IPSLanguageRes } from '../../res/ipslanguage-res'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSDEFInputTipImpl extends PSModelObjectImpl implements IPSDEFInputTip { get codeName(): string { return this.M.codeName; } get content(): string { return this.M.content; } get contentLanResTag(): string { return this.M.contentLanResTag; } protected contentpslanguageres: IPSLanguageRes | null = null; getContentPSLanguageRes(): IPSLanguageRes | null { if (this.contentpslanguageres != null) return this.contentpslanguageres; const value = this.M.getContentPSLanguageRes; if (value == null) { return null; } this.contentpslanguageres = this.getPSModel4('res.IPSLanguageRes', value, 'getContentPSLanguageRes') as IPSLanguageRes; return this.contentpslanguageres; } get contentPSLanguageRes(): IPSLanguageRes | null { return this.getContentPSLanguageRes(); } getContentPSLanguageResMust(): IPSLanguageRes { const value = this.getContentPSLanguageRes(); if (value == null) { throw new Error('未指定内容语言资源'); } return value; } get dynaModelFilePath(): string { return this.M.dynaModelFilePath; } get htmlContent(): string { return this.M.htmlContent; } get mOSFilePath(): string { return this.M.mOSFilePath; } get memo(): string { return this.M.memo; } get moreUrl(): string { return this.M.moreUrl; } get name(): string { return this.M.name; } get rTMOSFilePath(): string { return this.M.rTMOSFilePath; } get rawContent(): string { return this.M.rawContent; } get tipMode(): string { return this.M.tipMode; } get uniqueTag(): string { return this.M.uniqueTag; } 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 default(): boolean { return this.M.default; } get enableClose(): boolean { return this.M.enableClose; } get cls(): string { return 'PSDEFInputTipImpl'; } instanceof(cls: string): boolean { if (cls == 'dataentity.defield.IPSDEFInputTip') return true; return super.instanceof(cls); } }