public class HL7InQueue extends HL7QueueItem
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 |
---|---|
String |
getErrorMessage() |
Integer |
getHL7InQueueId() |
Integer |
getId() |
Integer |
getMessageState()
Can be one of the states in the
HL7Constants file. |
void |
setErrorMessage(String errorMessage) |
void |
setHL7InQueueId(Integer hl7InQueueId) |
void |
setId(Integer id) |
void |
setMessageState(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 Integer getHL7InQueueId()
public void setHL7InQueueId(Integer hl7InQueueId)
hl7InQueueId
- The hl7InQueueId to set.public String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- The errorMessage to set.public 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(Integer messageState)
messageState
- The message State to set.public Integer getId()
OpenmrsObject.getId()
public void setId(Integer id)
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2024 OpenMRS Inc.. All rights reserved.