InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > Ens.DataType.ProductionState


datatype class Ens.DataType.ProductionState extends %Library.Integer


This class is DEPRECATED. Refer to the Ens.Constants include file for the set of state values, and the ProductionStateToText method in Ens.Config.Production for the preferred way to convert a production state to a text string. Encapsulate a standard Production State value.


parameter DISPLAYLIST = ,Running,Stopped,Suspended,Troubled,NetworkStopped;
Inherited description: Used for enumerated (multiple-choice) attributes. Used in conjunction with the VALUELIST parameter for enumerated (multiple-choice) attributes. DISPLAYLIST, if not null, represents the display values for the attribute corresponding with the logical values listed in VALUELIST.

The display values are returned by the LogicalToDisplay method.

parameter VALUELIST = ,1,2,3,4,5;
Inherited description: Used for enumerated (multiple-choice) attributes. VALUELIST is either a null string ("") or a delimiter separated list (where the delimiter is the first character) of logical values. If a non-null value is present, then the attribute is restricted to values in the list, and the validation code simply checks to see if the value is in the list.

Inherited Members

Inherited Methods