Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ZENTest.DataModel

class ZENTest.DataModel extends %ZEN.DataModel.ObjectDataModel

DataModel class used for test page.

Property Inventory

Method Inventory

Properties

property City as %String (MAXLEN = 40);
Property methods: CityDisplayToLogical(), CityGet(), CityIsValid(), CityLogicalToDisplay(), CityLogicalToOdbc(), CityNormalize(), CitySet()
property Employee as ZENDemo.Data.Employee (ZENSQL = "Select %Id,Name From ZENDemo_Data.Employee", ZENSQLLOOKUP = "Select Name From ZENDemo_Data.Employee Where %Id=?");
Object reference property.
Property methods: EmployeeGet(), EmployeeGetObject(), EmployeeGetObjectId(), EmployeeGetSwizzled(), EmployeeIsValid(), EmployeeNewObject(), EmployeeSet(), EmployeeSetObject(), EmployeeSetObjectId(), EmployeeUnSwizzle()
property Memo as %GlobalCharacterStream;
Stream property.
Property methods: MemoDelete(), MemoGet(), MemoGetObject(), MemoGetObjectId(), MemoGetSwizzled(), MemoIsValid(), MemoNewObject(), MemoOid(), MemoOpen(), MemoSet(), MemoSetObject(), MemoSetObjectId(), MemoUnSwizzle()
property Name as %String (MAXLEN = 40);
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Sex as %String (DISPLAYLIST = ",Male,Female,Other", MAXLEN = 1, VALUELIST = ",M,F,O");
Enumerated property.
Property methods: SexDisplayToLogical(), SexGet(), SexIsValid(), SexLogicalToDisplay(), SexLogicalToOdbc(), SexNormalize(), SexSet()

Methods

method %OnLoadModel(pSource As %RegisteredObject) as %Status
This callback method does the actual work of loading values from the source object.
method %OnStoreModel(pSource As %RegisteredObject) as %Status
This callback method does the actual work of copying values from the DataModel to the data source.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab