IRISLIB database
DataModelUtils Class Reference

Utility class used by the <class>ZEN.DataModel.DataModel</class> classes. More...

Inheritance diagram for DataModelUtils:
Collaboration diagram for DataModelUtils:

Static Public Member Functions

_.Library.Status GetControlForProperty (_.Library.String pClass, _.Library.String pProperty, _.Library.String pInfo)
 Utility class used by the <class>ZEN.DataModel.DataModel</class> classes. More...
 
_.Library.String GetNormalizedPropertyType (_.Library.String pClass, _.Library.String pProperty)
 Get normalized type (class name) of the given property.
 
_.Library.String GetPropertyType (_.Dictionary.CompiledProperty pdef)
 Get normalized type (class name) of given property definition. More...
 
_.Library.String GetSQLTableName (_.Library.String pClass)
 Return the SQL table name for the given class name.
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

Utility class used by the <class>ZEN.DataModel.DataModel</class> classes.

Member Function Documentation

◆ GetControlForProperty()

_.Library.Status GetControlForProperty ( _.Library.String  pClass,
_.Library.String  pProperty,
_.Library.String  pInfo 
)
static

Utility class used by the <class>ZEN.DataModel.DataModel</class> classes.

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

◆ GetPropertyType()

_.Library.String GetPropertyType ( _.Dictionary.CompiledProperty  pdef)
static

Get normalized type (class name) of given property definition.

This is a duplicate of the same method in ZEN.Generator.