Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

ZENApp.Data.Employee

persistent class ZENApp.Data.Employee extends %Library.Persistent, %Library.Populate

SQL Table Name: ZENApp_Data.Employee

This represents an Employee within the sample HelpDesk application.

Property Inventory

Properties

property Name as %String (MAXLEN = 100);
Employee name.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property SSN as %String (MAXLEN = 20);
Employee SSN or Tax ID.
Property methods: SSNDisplayToLogical(), SSNGet(), SSNGetStored(), SSNIsValid(), SSNLogicalToDisplay(), SSNLogicalToOdbc(), SSNNormalize(), SSNSet()

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (IdxName on Name);
Index methods: IdxNameExists()
index (IdxSSN on SSN);
Index methods: IdxSSNExists()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (ZENApp.Data.Employee)

^ZENApp.Data.EmployeeD(ID)
=
%%CLASSNAME
Name
SSN
FeedbackOpens in a new tab