public class HL7InQueue extends HL7QueueItem implements java.io.Serializable
HL7Service
,
Serialized FormConstructor and Description |
---|
HL7InQueue()
Default constructor
|
HL7InQueue(HL7InArchive hl7InArchive)
Convenience constructor to build queue from a previously deleted queue entry
|
HL7InQueue(HL7InError hl7InError)
Convenience constructor to build queue from a previously erred queue entry
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage() |
java.lang.Integer |
getHL7InQueueId() |
java.lang.Integer |
getId() |
java.lang.Integer |
getMessageState()
Can be one of the states in the
HL7Constants file. |
void |
setErrorMessage(java.lang.String errorMessage) |
void |
setHL7InQueueId(java.lang.Integer hl7InQueueId) |
void |
setId(java.lang.Integer id) |
void |
setMessageState(java.lang.Integer messageState) |
getDateCreated, getHL7Data, getHL7Source, getHL7SourceKey, setDateCreated, setHL7Data, setHL7Source, setHL7SourceKey
public HL7InQueue()
public HL7InQueue(HL7InArchive hl7InArchive)
hl7InArchive
- deleted entry from which queue entry will be constructedpublic HL7InQueue(HL7InError hl7InError)
hl7InError
- erred entry from which queue entry will be constructedpublic java.lang.Integer getHL7InQueueId()
public void setHL7InQueueId(java.lang.Integer hl7InQueueId)
hl7InQueueId
- The hl7InQueueId to set.public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage
- The errorMessage to set.public java.lang.Integer getMessageState()
HL7Constants
file.HL7Constants.HL7_STATUS_PENDING
,
HL7Constants.HL7_STATUS_ERROR
,
HL7Constants.HL7_STATUS_PROCESSED
,
HL7Constants.HL7_STATUS_PROCESSING
,
HL7Constants.HL7_STATUS_DELETED
public void setMessageState(java.lang.Integer messageState)
messageState
- The message State to set.public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.