Home > Class Reference > ENSLIB namespace > %ZEN.Datatype.delegator
Private  

%ZEN.Datatype.delegator

datatype class %ZEN.Datatype.delegator extends datatype

ODBC Type: VARCHAR

This is used to represent the name of a delegator method: this is a method within the current page object that serves as a server-side callback method.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 1

Summary

Methods
DisplayToLogical IsValid LogicalToDisplay LogicalToOdbc
LogicalToXSD Normalize XSDToLogical

Parameters

parameter FORMALSPEC;
This is the formal spec of the delegator method. E.g., "pComp:%ZEN.Component.object,pText:%String"
parameter MAXLEN = 64;
The maximum number of characters the string can contain.
parameter RETURNTYPE;
This is the return type of the delegator method.
parameter XMLPROJECTION = "attribute";
parameter ZENENCRYPT = 1;
parameter ZENSETTING = 0;

Methods

classmethod IsValid(%val) as %Status
Tests if the logical value %val, which is a string, is valid. The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MINLEN, MAXLEN, VALUELIST, and PATTERN.