org.openmrs.hl7
Class HL7InArchive

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.hl7.HL7InArchive
All Implemented Interfaces:
OpenmrsObject

public class HL7InArchive
extends BaseOpenmrsObject

Represents a successfully processed hl7 message.

See Also:
HL7InQueue, HL7Service

Constructor Summary
HL7InArchive()
          Default constructor
HL7InArchive(HL7InQueue hl7InQueue)
          Convenience constructor to build archive from an existing queue entry
 
Method Summary
 java.util.Date getDateCreated()
           
 java.lang.String getHL7Data()
           
 int getHL7InArchiveId()
           
 HL7Source getHL7Source()
           
 java.lang.String getHL7SourceKey()
           
 java.lang.Integer getId()
           
 java.lang.Integer getMessageState()
           
 boolean isLoaded()
          describes whether hl7 data has been loaded from the filesystem
 void setDateCreated(java.util.Date dateCreated)
           
 void setHL7Data(java.lang.String hl7Data)
           
 void setHL7InArchiveId(int hl7InArchiveId)
           
 void setHL7Source(HL7Source hl7Source)
           
 void setHL7SourceKey(java.lang.String hl7SourceKey)
           
 void setId(java.lang.Integer id)
           
 void setLoaded(boolean loaded)
          sets the flag for hl7 data having been loaded from the filesystem
 void setMessageState(java.lang.Integer messageState)
           
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HL7InArchive

public HL7InArchive()
Default constructor


HL7InArchive

public HL7InArchive(HL7InQueue hl7InQueue)
Convenience constructor to build archive from an existing queue entry

Parameters:
hl7InQueue - queue entry from which archive entry will be constructed
Method Detail

getDateCreated

public java.util.Date getDateCreated()
Returns:
Returns the dateCreated.

setDateCreated

public void setDateCreated(java.util.Date dateCreated)
Parameters:
dateCreated - The dateCreated to set.

getHL7Data

public java.lang.String getHL7Data()
Returns:
Returns the hl7Data.

setHL7Data

public void setHL7Data(java.lang.String hl7Data)
Parameters:
hl7Data - The hl7Data to set.

getHL7InArchiveId

public int getHL7InArchiveId()
Returns:
Returns the hl7InArchiveId.

setHL7InArchiveId

public void setHL7InArchiveId(int hl7InArchiveId)
Parameters:
hl7InArchiveId - The hl7InArchiveId to set.

getHL7Source

public HL7Source getHL7Source()
Returns:
Returns the hl7Source.

setHL7Source

public void setHL7Source(HL7Source hl7Source)
Parameters:
hl7Source - The hl7Source to set.

getHL7SourceKey

public java.lang.String getHL7SourceKey()
Returns:
Returns the hl7SourceKey.

setHL7SourceKey

public void setHL7SourceKey(java.lang.String hl7SourceKey)
Parameters:
hl7SourceKey - The hl7SourceKey to set.

getMessageState

public java.lang.Integer getMessageState()
Returns:
Returns message state.
Since:
1.5

setMessageState

public void setMessageState(java.lang.Integer messageState)
Parameters:
messageState - The message source to set.
Since:
1.5

getId

public java.lang.Integer getId()
Returns:
id - The unique Identifier for the object
Since:
1.5
See Also:
OpenmrsObject.getId()

setId

public void setId(java.lang.Integer id)
Parameters:
id - - The unique Identifier for the object
Since:
1.5
See Also:
OpenmrsObject.setId(java.lang.Integer)

isLoaded

public boolean isLoaded()
describes whether hl7 data has been loaded from the filesystem

Returns:
the loaded status (true or false)
Since:
1.7

setLoaded

public void setLoaded(boolean loaded)
sets the flag for hl7 data having been loaded from the filesystem

Parameters:
the - status to set
Since:
1.7

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change