Class Reference
IRIS for UNIX 2019.3
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [DataType] >  [ProductionState]
Private  Storage   

datatype class Ens.DataType.ProductionState extends %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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers


DisplayToLogical IsValid LogicalToDisplay Normalize


• parameter DISPLAYLIST = ",Running,Stopped,Suspended,Troubled,NetworkStopped";
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";
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.

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.