import { IPSDEDRDER1NItem } from './ipsdedrder1-nitem'; import { PSDEDRItemImpl } from './psdedritem-impl'; import { IPSSysImage } from '../../res/ipssys-image'; export class PSDEDRDER1NItemImpl extends PSDEDRItemImpl implements IPSDEDRDER1NItem { get counterId(): string { return this.M.counterId; } protected pssysimage: IPSSysImage | null = null; getPSSysImage(): IPSSysImage | null { if (this.pssysimage != null) return this.pssysimage; const value = this.M.getPSSysImage; if (value == null) { return null; } this.pssysimage = this.getPSModel4('res.IPSSysImage', value, 'getPSSysImage') as IPSSysImage; return this.pssysimage; } get psSysImage(): IPSSysImage | null { return this.getPSSysImage(); } getPSSysImageMust(): IPSSysImage { const value = this.getPSSysImage(); if (value == null) { throw new Error('未指定成员图标资源对象'); } return value; } get cls(): string { return 'PSDEDRDER1NItemImpl'; } instanceof(cls: string): boolean { if (cls == 'dataentity.dr.IPSDEDRDER1NItem') return true; return super.instanceof(cls); } }