Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Core.ListOfOptions

%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 [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
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