|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.hl7.HL7InQueue
public class HL7InQueue
Represents an hl7 message that has yet to be processed.
HL7Service
,
Serialized FormConstructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Date |
getDateCreated()
|
java.lang.String |
getErrorMessage()
|
java.lang.String |
getHL7Data()
|
java.lang.Integer |
getHL7InQueueId()
|
HL7Source |
getHL7Source()
|
java.lang.String |
getHL7SourceKey()
|
java.lang.Integer |
getId()
|
java.lang.Integer |
getMessageState()
Can be one of the states in the HL7Constants file. |
int |
hashCode()
|
void |
setDateCreated(java.util.Date dateCreated)
|
void |
setErrorMessage(java.lang.String errorMessage)
|
void |
setHL7Data(java.lang.String hl7Data)
|
void |
setHL7InQueueId(java.lang.Integer hl7InQueueId)
|
void |
setHL7Source(HL7Source hl7Source)
|
void |
setHL7SourceKey(java.lang.String hl7SourceKey)
|
void |
setId(java.lang.Integer id)
|
void |
setMessageState(java.lang.Integer messageState)
|
Methods inherited from class org.openmrs.BaseOpenmrsObject |
---|
getUuid, setUuid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 constructedMethod Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
dateCreated
- The dateCreated to set.public java.lang.String getHL7Data()
public void setHL7Data(java.lang.String hl7Data)
hl7Data
- The hl7Data to set.public java.lang.Integer getHL7InQueueId()
public void setHL7InQueueId(java.lang.Integer hl7InQueueId)
hl7InQueueId
- The hl7InQueueId to set.public HL7Source getHL7Source()
public void setHL7Source(HL7Source hl7Source)
hl7Source
- The hl7Source to set.public java.lang.String getHL7SourceKey()
public void setHL7SourceKey(java.lang.String hl7SourceKey)
hl7SourceKey
- The hl7SourceKey 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)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |