Home > Class Reference > ENSLIB namespace > EnsLib.HL7.SM.RuntimeData.Thread

EnsLib.HL7.SM.RuntimeData.Thread

persistent class EnsLib.HL7.SM.RuntimeData.Thread extends %Library.Persistent

SQL Table Name: EnsLib_HL7_SM_RuntimeData.Thread

This class maps the follow SequenceManager global: ^EnsHL7.SM(ConfigName,"thread",Type,Facility,Application,Thread,"next") = next message sequence number ^EnsHL7.SM(ConfigName,"thread",Type,Facility,Application,Thread,"list",sequence) = $lb($lb((MessageId,SessionId,PrimaryRequestHeaderId,MessageClassName),...) ^EnsHL7.SM(ConfigName,"thread",Type,Facility,Application,Thread,"wait") = $ZH time we started to wait

Property Inventory (Including Private)

Properties (Including Private)

property Application as %String [ Required ];
Application name
Property methods: ApplicationDisplayToLogical(), ApplicationGet(), ApplicationGetStored(), ApplicationIsValid(), ApplicationLogicalToDisplay(), ApplicationLogicalToOdbc(), ApplicationNormalize(), ApplicationSet()
relationship ConfigName as EnsLib.HL7.SM.RuntimeData.Configuration [ Required , Inverse = Thread , Cardinality = parent ];
Configuration parent object
Property methods: ConfigNameCheck(), ConfigNameDelete(), ConfigNameGet(), ConfigNameGetObject(), ConfigNameGetObjectId(), ConfigNameGetStored(), ConfigNameGetSwizzled(), ConfigNameIsValid(), ConfigNameNewObject(), ConfigNameOnDelete(), ConfigNameRClose(), ConfigNameRExec(), ConfigNameRFetch(), ConfigNameRelate(), ConfigNameSQLCompute(), ConfigNameSet(), ConfigNameSetObject(), ConfigNameSetObjectId(), ConfigNameUnRelate(), ConfigNameUnSwizzle()
property Facility as %String [ Required ];
Facility name
Property methods: FacilityDisplayToLogical(), FacilityGet(), FacilityGetStored(), FacilityIsValid(), FacilityLogicalToDisplay(), FacilityLogicalToOdbc(), FacilityNormalize(), FacilitySet()
property NextSequenceNumber;
The next expected sequence number
Property methods: NextSequenceNumberDisplayToLogical(), NextSequenceNumberGet(), NextSequenceNumberGetStored(), NextSequenceNumberIsValid(), NextSequenceNumberLogicalToDisplay(), NextSequenceNumberLogicalToOdbc(), NextSequenceNumberNormalize(), NextSequenceNumberSet()
property Thread as %String [ Required ];
Thread is either main or resend
Property methods: ThreadDisplayToLogical(), ThreadGet(), ThreadGetStored(), ThreadIsValid(), ThreadLogicalToDisplay(), ThreadLogicalToOdbc(), ThreadNormalize(), ThreadSet()
property Type as %String [ Required ];
Type is either Sender or Receiver
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()
property WaitStartTime as %String;
The time we start to wait
Property methods: WaitStartTimeDisplayToLogical(), WaitStartTimeGet(), WaitStartTimeGetStored(), WaitStartTimeIsValid(), WaitStartTimeLogicalToDisplay(), WaitStartTimeLogicalToOdbc(), WaitStartTimeNormalize(), WaitStartTimeSet()
relationship WaitingSequenceNumbers as array of EnsLib.HL7.SM.RuntimeData.WaitingSequenceNumbers [ InitialExpression = $listbuild("EnsLib.HL7.SM.RuntimeData.WaitingSequenceNumbers","Thread",+$this,"children",1,1) , Transient , Inverse = Thread , Cardinality = children ];
List of waiting sequence numbers
Property methods: WaitingSequenceNumbersGet(), WaitingSequenceNumbersGetObject(), WaitingSequenceNumbersGetObjectId(), WaitingSequenceNumbersGetSwizzled(), WaitingSequenceNumbersIsEmpty(), WaitingSequenceNumbersIsValid(), WaitingSequenceNumbersNewObject(), WaitingSequenceNumbersRClose(), WaitingSequenceNumbersRExec(), WaitingSequenceNumbersRFetch(), WaitingSequenceNumbersRelate(), WaitingSequenceNumbersSQLCompute(), WaitingSequenceNumbersSet(), WaitingSequenceNumbersUnRelate()

Indexes

index (IdIndex on Type,Facility,Application,Thread) [IdKey, Type = key];
Index methods: IdIndexCheck(), IdIndexDelete(), IdIndexExists(), IdIndexOpen(), IdIndexSQLCheckUnique(), IdIndexSQLExists(), IdIndexSQLFindPKeyByConstraint(), IdIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods (Including Private)