import { IPSDEMainStateOPPriv } from './ipsdemain-state-oppriv'; import { IPSDEOPPriv } from '../priv/ipsdeoppriv'; import { PSModelObjectImpl } from '../../psmodel-object-impl'; export class PSDEMainStateOPPrivImpl extends PSModelObjectImpl implements IPSDEMainStateOPPriv { get codeName(): string { return this.M.codeName; } 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 psdeoppriv: IPSDEOPPriv | null = null; getPSDEOPPriv(): IPSDEOPPriv | null { if (this.psdeoppriv != null) return this.psdeoppriv; const value = this.M.getPSDEOPPriv; if (value == null) { return null; } this.psdeoppriv = this.getPSModel4('dataentity.priv.IPSDEOPPriv', value, 'getPSDEOPPriv') as IPSDEOPPriv; return this.psdeoppriv; } get psDEOPPriv(): IPSDEOPPriv | null { return this.getPSDEOPPriv(); } getPSDEOPPrivMust(): IPSDEOPPriv { const value = this.getPSDEOPPriv(); if (value == null) { throw new Error('未指定实体操作标识'); } return value; } 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 'PSDEMainStateOPPrivImpl'; } instanceof(cls: string): boolean { if (cls == 'dataentity.mainstate.IPSDEMainStateOPPriv') return true; return super.instanceof(cls); } }