class %ZEN.DataModelUtils
extends %RegisteredObject
Utility class used by the %ZEN.DataModel.DataModel
classes.
Parameters
|
Properties
|
Methods
|
Queries
|
Indices
|
ForeignKeys
|
Triggers
|
|
|
7
|
|
|
|
|
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.