import { IPSSysUniRes } from './ipssys-uni-res'; import { IPSSysUserRoleRes } from './ipssys-user-role-res'; import { PSModelObjectImpl } from '../psmodel-object-impl'; export class PSSysUserRoleResImpl extends PSModelObjectImpl implements IPSSysUserRoleRes { 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 pssysunires: IPSSysUniRes | null = null; getPSSysUniRes(): IPSSysUniRes | null { if (this.pssysunires != null) return this.pssysunires; const value = this.M.getPSSysUniRes; if (value == null) { return null; } this.pssysunires = this.getPSModel4('security.IPSSysUniRes', value, 'getPSSysUniRes') as IPSSysUniRes; return this.pssysunires; } get psSysUniRes(): IPSSysUniRes | null { return this.getPSSysUniRes(); } getPSSysUniResMust(): IPSSysUniRes { const value = this.getPSSysUniRes(); if (value == null) { throw new Error('未指定系统统一资源'); } return value; } get rTMOSFilePath(): string { return this.M.rTMOSFilePath; } get sysUniResCode(): string { return this.M.sysUniResCode; } 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 'PSSysUserRoleResImpl'; } instanceof(cls: string): boolean { if (cls == 'security.IPSSysUserRoleRes') return true; return super.instanceof(cls); } }