Home > Class Reference > ENSLIB namespace > Ens.Config.Production


persistent class Ens.Config.Production extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Ens_Config.Production

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter XMLIGNORENULL = 1;
Inherited description: XMLIGNORENULL allows the programmer to override the default XML handling of empty strings for properties of type %String. By default (XMLIGNORENULL = 0), empty strings in the XML input are stored as $c(0) and $c(0) is written to XML as an empty tag. A missing tag in the XML input is always stored as "" and "" is always output to XML as no tag.

If XMLIGNORENULL is set = 1, then both missing tags in the XML and empty strings are input as "", and both "" and $c(0) are output as empty tags (i.e. <tag></tag>).

If XMLIGNORENULL is set = "inputonly", then both missing tags in the XML and empty strings are input as "". Output of "" and $c(0) are for XMLIGNORENULL = 0: $c(0) is output as an empty tag (i.e. <tag></tag>) and "" is output as no tag.

If XMLIGNORENULL = "runtime" (runtime is not case sensitive), then the behavior of XMLIGNORENULL is determined by the format parameter of XMLExport, XMLImport and %XML.Reader.OpenFile. The default behavior for XMLIGNORENULL="runtime is the same as XMLIGNORENULL=0. Adding "ignorenull" to the format argument changes the behavior to that of XMLIGNORENULL=1. "ignorenull" shoud be separated by a comma from literal/encoded part of the format. Example values for format are "", ",ignorenull", "literal,ignorenull" and "encoded,ignorenull". Note that "inputonly" is equivalent to using ,ignorenull for XMLExport and not for %XML.Reader.
parameter XMLNAME = Production;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties (Including Private)

property ActorPoolSize as %Integer (MAXVAL = 128, MINVAL = 0) [ InitialExpression = 1 ];
Actor pool size for the production. This is the number of jobs that will be shared by business processes not configured to use a private job pool.
Property methods: ActorPoolSizeDisplayToLogical(), ActorPoolSizeGet(), ActorPoolSizeGetStored(), ActorPoolSizeIsValid(), ActorPoolSizeLogicalToDisplay(), ActorPoolSizeNormalize(), ActorPoolSizeSet(), ActorPoolSizeXSDToLogical()
property Description as %String (MAXLEN = 500, TRUNCATE = 1);
Description of the production.
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property Items as list of Ens.Config.Item (XMLNAME = "Item", XMLPROJECTION = "ELEMENT");
Property methods: ItemsBuildValueArray(), ItemsCollectionToDisplay(), ItemsCollectionToOdbc(), ItemsDisplayToCollection(), ItemsGet(), ItemsGetObject(), ItemsGetObjectId(), ItemsGetStored(), ItemsGetSwizzled(), ItemsIsValid(), ItemsOdbcToCollection(), ItemsSet(), ItemsSetObject(), ItemsSetObjectId()
property LogGeneralTraceEvents as %Boolean (XMLPROJECTION = "ATTRIBUTE") [ InitialExpression = 0 ];
Log trace events that are not associated with any particular config item.
Property methods: LogGeneralTraceEventsDisplayToLogical(), LogGeneralTraceEventsGet(), LogGeneralTraceEventsGetStored(), LogGeneralTraceEventsIsValid(), LogGeneralTraceEventsLogicalToDisplay(), LogGeneralTraceEventsLogicalToXSD(), LogGeneralTraceEventsNormalize(), LogGeneralTraceEventsSet(), LogGeneralTraceEventsXSDToLogical()
property ModifiedSettings as list of Ens.Config.Setting (XMLPROJECTION = "NONE") [ Transient ];
Same format as Settings, You must call PopulateModifiedSettings() to populate this collection The collection contains the list of settings that are either defined in the production, or have default setting overrides.
Property methods: ModifiedSettingsBuildValueArray(), ModifiedSettingsCollectionToDisplay(), ModifiedSettingsCollectionToOdbc(), ModifiedSettingsDisplayToCollection(), ModifiedSettingsGet(), ModifiedSettingsGetObject(), ModifiedSettingsGetObjectId(), ModifiedSettingsGetSwizzled(), ModifiedSettingsIsValid(), ModifiedSettingsOdbcToCollection(), ModifiedSettingsSet(), ModifiedSettingsSetObject(), ModifiedSettingsSetObjectId()
property Name as %String (MAXLEN = 128, XMLPROJECTION = "ATTRIBUTE") [ Required ];
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Settings as list of Ens.Config.Setting (XMLNAME = "Setting", XMLPROJECTION = "ELEMENT");
Production settings
Property methods: SettingsBuildValueArray(), SettingsCollectionToDisplay(), SettingsCollectionToOdbc(), SettingsDisplayToCollection(), SettingsGet(), SettingsGetObject(), SettingsGetObjectId(), SettingsGetStored(), SettingsGetSwizzled(), SettingsIsValid(), SettingsOdbcToCollection(), SettingsSet(), SettingsSetObject(), SettingsSetObjectId()
property SubProductions as list of Ens.Config.SubProduction (XMLNAME = "SubProduction", XMLPROJECTION = "ELEMENT");
Property SubProductions As list Of Ens.Config.Production(XMLNAME = "SubProduction", XMLPROJECTION = "ELEMENT", XMLREFERENCE = "id");
Property methods: SubProductionsBuildValueArray(), SubProductionsCollectionToDisplay(), SubProductionsCollectionToOdbc(), SubProductionsDisplayToCollection(), SubProductionsGet(), SubProductionsGetObject(), SubProductionsGetObjectId(), SubProductionsGetStored(), SubProductionsGetSwizzled(), SubProductionsIsValid(), SubProductionsOdbcToCollection(), SubProductionsSet(), SubProductionsSetObject(), SubProductionsSetObjectId()
property TestingEnabled as %Boolean (XMLPROJECTION = "ATTRIBUTE");
Enable testing infrastructure for the production.
Property methods: TestingEnabledDisplayToLogical(), TestingEnabledGet(), TestingEnabledGetStored(), TestingEnabledIsValid(), TestingEnabledLogicalToDisplay(), TestingEnabledLogicalToXSD(), TestingEnabledNormalize(), TestingEnabledSet(), TestingEnabledXSDToLogical()
property VirtualSettings as list of %String (XMLPROJECTION = "NONE") [ Transient ];
Contains the list of settings, value, value_type, default, default_type and other meta information Must call PopulateVirtualSettings() to populate this collection The format of value of each element is the following $lb(Target,Name,Value,ValueType,Default,DefaultType,Description,Type,MAXLEN,MINVAL,MAXVAL,VALUELIST,DISPLAYLIST,IsRequired)
Property methods: VirtualSettingsBuildValueArray(), VirtualSettingsCollectionToDisplay(), VirtualSettingsCollectionToOdbc(), VirtualSettingsDisplayToCollection(), VirtualSettingsDisplayToLogical(), VirtualSettingsGet(), VirtualSettingsGetObject(), VirtualSettingsGetObjectId(), VirtualSettingsGetSwizzled(), VirtualSettingsIsValid(), VirtualSettingsLogicalToDisplay(), VirtualSettingsLogicalToOdbc(), VirtualSettingsNormalize(), VirtualSettingsOdbcToCollection(), VirtualSettingsSet(), VirtualSettingsSetObject(), VirtualSettingsSetObjectId()

Methods (Including Private)