public class HL7InQueue extends BaseOpenmrsObject implements 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 |
---|---|
boolean |
equals(Object obj) |
Date |
getDateCreated() |
String |
getErrorMessage() |
String |
getHL7Data() |
Integer |
getHL7InQueueId() |
HL7Source |
getHL7Source() |
String |
getHL7SourceKey() |
Integer |
getId() |
Integer |
getMessageState()
Can be one of the states in the
HL7Constants file. |
int |
hashCode() |
void |
setDateCreated(Date dateCreated) |
void |
setErrorMessage(String errorMessage) |
void |
setHL7Data(String hl7Data) |
void |
setHL7InQueueId(Integer hl7InQueueId) |
void |
setHL7Source(HL7Source hl7Source) |
void |
setHL7SourceKey(String hl7SourceKey) |
void |
setId(Integer id) |
void |
setMessageState(Integer messageState) |
getUuid, setUuid
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 Date getDateCreated()
public void setDateCreated(Date dateCreated)
dateCreated
- The dateCreated to set.public String getHL7Data()
public void setHL7Data(String hl7Data)
hl7Data
- The hl7Data to set.public Integer getHL7InQueueId()
public void setHL7InQueueId(Integer hl7InQueueId)
hl7InQueueId
- The hl7InQueueId to set.public HL7Source getHL7Source()
public void setHL7Source(HL7Source hl7Source)
hl7Source
- The hl7Source to set.public String getHL7SourceKey()
public void setHL7SourceKey(String hl7SourceKey)
hl7SourceKey
- The hl7SourceKey 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()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.