Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

%ZHSLIB.PackageManager.Core.ListOfOptions

datatype class %ZHSLIB.PackageManager.Core.ListOfOptions extends %Library.List

ODBC Type: VARCHAR

Method Inventory

Parameters

parameter DISPLAYLIST;
Used in conjunction with VALUELIST.
parameter VALUELIST;
If specified, validation ensures that each element in the list is one of the specified values.

Methods

classmethod DisplayToLogical(%val As %String) as %String
Converts the input value %val, which is a string, into the logical string format, based on VALUELIST and DISPLAYLIST. Returns the logical value of the input string %val.
classmethod IsValid(%val As %Library.RawString) 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.
classmethod LogicalToDisplay(%val As %String) as %String
Converts the value of %val, which is in logical format, into a display string, based on VALUELIST and DISPLAYLIST.

Returns the string value of %val.

classmethod LogicalToXSD(val As %List) as %String
Converts the Cache $list value to the canonical SOAP encoded value. Overridden to generate even in non-XML enabled classes (implementation copied from parent and minimally modified)
classmethod XSDToLogical(val As %String) as %List
Converts the SOAP encoded input list value into a Cache $list value. Overridden to generate even in non-XML enabled classes (implementation copied from parent and minimally modified)

Inherited Members

Inherited Methods

FeedbackOpens in a new tab