Home > Class Reference > ENSLIB namespace > Ens.DataType.ProductionState
Private  Storage   

Ens.DataType.ProductionState


datatype class Ens.DataType.ProductionState extends %Integer

ODBC Type: VARCHAR

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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary


Methods
DisplayToLogical IsValid LogicalToDisplay Normalize
XSDToLogical


Parameters


• 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.