Class MllpAuditDataset

java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
org.openehealth.ipf.commons.ihe.hl7v2.audit.MllpAuditDataset
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FeedAuditDataset, Iti64AuditDataset, QueryAuditDataset

public abstract class MllpAuditDataset extends AuditDataset
Generic audit dataset for MLLP-based IHE transactions.
Author:
Dmytro Rud
See Also:
  • Constructor Details

    • MllpAuditDataset

      public MllpAuditDataset(boolean serverSide)
      Constructor.
      Parameters:
      serverSide - Where we are — server side (true) or client side (false).
  • Method Details

    • getSourceUserId

      public String getSourceUserId()
      The identity of the Source Actor facility and sending application from the HL7 message; concatenated together, separated by the | character.
      Specified by:
      getSourceUserId in class AuditDataset
      Returns:
      identity of the Source Actor facility
    • getDestinationUserId

      public String getDestinationUserId()
      The identity of the Destination Actor facility and receiving application from the HL7 message; concatenated together, separated by the | character
      Specified by:
      getDestinationUserId in class AuditDataset
      Returns:
      identity of the Destination Actor facility
    • getLocalAddress

      public String getLocalAddress()
      Description copied from class: AuditDataset
      Returns the local address. May fall back to AuditUtils.getLocalIPAddress() if not explicitly set
      Specified by:
      getLocalAddress in class AuditDataset
      Returns:
      The machine name or IP address
    • getHumanUsers

      public List<AuditDataset.HumanUser> getHumanUsers()
      Specified by:
      getHumanUsers in class AuditDataset
      Returns:
      information about human user(s) participating in the transaction
    • getSendingApplication

      public String getSendingApplication()
      Sending application from MSH-3
    • setSendingApplication

      public void setSendingApplication(String sendingApplication)
      Sending application from MSH-3
    • getSendingFacility

      public String getSendingFacility()
      Sending facility from MSH-4
    • setSendingFacility

      public void setSendingFacility(String sendingFacility)
      Sending facility from MSH-4
    • getReceivingApplication

      public String getReceivingApplication()
      Receiving application from MSH-5
    • setReceivingApplication

      public void setReceivingApplication(String receivingApplication)
      Receiving application from MSH-5
    • getReceivingFacility

      public String getReceivingFacility()
      Receiving facility from MSH-6
    • setReceivingFacility

      public void setReceivingFacility(String receivingFacility)
      Receiving facility from MSH-6
    • getMessageType

      public String getMessageType()
      Message type from MSH-9
    • setMessageType

      public void setMessageType(String messageType)
      Message type from MSH-9
    • getMessageControlId

      public String getMessageControlId()
      Message control ID from MSH-10
    • setMessageControlId

      public void setMessageControlId(String messageControlId)
      Message control ID from MSH-10
    • setLocalAddress

      public void setLocalAddress(String localAddress)
      Local address
    • setRemoteAddress

      public void setRemoteAddress(String remoteAddress)
      Remote address
    • getRemoteAddress

      public String getRemoteAddress()
      Remote address
      Specified by:
      getRemoteAddress in class AuditDataset
      Returns:
      the remote address of the transaction