Home > Class Reference > ENSLIB namespace > %ZEN.DataModelUtils
Private  Storage   

%ZEN.DataModelUtils


class %ZEN.DataModelUtils extends %RegisteredObject

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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
7


Summary


Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
GetControlForProperty GetNormalizedPropertyType GetPropertyType GetSQLTableName


Methods


• 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.