This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).

Caché & Ensemble 2018.1.5Opens in a new window > Class Reference > %SYS namespace > %ZEN.DataModelUtils


class %ZEN.DataModelUtils extends %Library.RegisteredObject

Utility class used by the %ZEN.DataModel.DataModel classes.

Method Inventory (Including Private)

Methods (Including Private)

classmethod GetControlForProperty(pClass As %String, pProperty As %String, Output pInfo As %String) as %Status
Given a class and property name, fill in an array of information that can be used to create a ZEN control to display the property.
This is used both by code generators and run-time code to create forms on the "fly".
classmethod GetNormalizedPropertyType(pClass As %String, pProperty As %String) as %String
Get normalized type (class name) of the given property.
classmethod GetPropertyType(pdef As %Dictionary.CompiledProperty) as %String
Get normalized type (class name) of given property definition This is a duplicate of the same method in %ZEN.Generator.
classmethod GetSQLTableName(pClass As %String) as %String
Return the SQL table name for the given class name.

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window