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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
AuditDataset.HumanUser
-
-
Constructor Summary
Constructors Constructor Description MllpAuditDataset(boolean serverSide)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDestinationUserId()
The identity of the Destination Actor facility and receiving application from the HL7 message; concatenated together, separated by the | characterList<AuditDataset.HumanUser>
getHumanUsers()
String
getLocalAddress()
Returns the local address.String
getMessageControlId()
Message control ID from MSH-10String
getMessageType()
Message type from MSH-9String
getReceivingApplication()
Receiving application from MSH-5String
getReceivingFacility()
Receiving facility from MSH-6String
getRemoteAddress()
Remote address from MINA sessionString
getSendingApplication()
Sending application from MSH-3String
getSendingFacility()
Sending facility from MSH-4String
getSourceUserId()
The identity of the Source Actor facility and sending application from the HL7 message; concatenated together, separated by the | character.void
setLocalAddress(String localAddress)
Local address from MINA sessionvoid
setMessageControlId(String messageControlId)
Message control ID from MSH-10void
setMessageType(String messageType)
Message type from MSH-9void
setReceivingApplication(String receivingApplication)
Receiving application from MSH-5void
setReceivingFacility(String receivingFacility)
Receiving facility from MSH-6void
setRemoteAddress(String remoteAddress)
Remote address from MINA sessionvoid
setSendingApplication(String sendingApplication)
Sending application from MSH-3void
setSendingFacility(String sendingFacility)
Sending facility from MSH-4-
Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
getEventOutcomeDescription, getEventOutcomeIndicator, getSourceUserName, isDestinationUserIsRequestor, isServerSide, isSourceUserIsRequestor, setEventOutcomeDescription, setEventOutcomeIndicator, setSourceUserName, toString
-
-
-
-
Method Detail
-
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 classAuditDataset
- 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 classAuditDataset
- Returns:
- identity of the Destination Actor facility
-
getLocalAddress
public String getLocalAddress()
Description copied from class:AuditDataset
Returns the local address. May fall back toAuditUtils.getLocalIPAddress()
if not explicitly set- Specified by:
getLocalAddress
in classAuditDataset
- Returns:
- The machine name or IP address
-
getHumanUsers
public List<AuditDataset.HumanUser> getHumanUsers()
- Specified by:
getHumanUsers
in classAuditDataset
- 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 from MINA session
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
Remote address from MINA session
-
getRemoteAddress
public String getRemoteAddress()
Remote address from MINA session- Specified by:
getRemoteAddress
in classAuditDataset
- Returns:
- the remote address of the transaction
-
-