public class NetworkEntryBuilder extends BaseAuditMessageBuilder<NetworkEntryBuilder>
This message describes the event of a system, such as a mobile device, intentionally entering or leaving the network.
Modifier and Type | Class and Description |
---|---|
static class |
NetworkEntryBuilder.EnteringNetwork |
static class |
NetworkEntryBuilder.LeavingNetwork |
Constructor and Description |
---|
NetworkEntryBuilder(EventOutcomeIndicator outcome,
String eventOutcomeDescription,
EventTypeCode eventTypeCode) |
Modifier and Type | Method and Description |
---|---|
NetworkEntryBuilder |
setSystemParticipant(String userId,
String altUserId,
String userName,
ActiveParticipantRoleIdCode roleId,
String networkId)
Sets the Active Participant of the Node or System entering or leaving the network
|
void |
validate()
Validates the constructed audit message against the specification, because API does not completely
prevent constructing incomplete or inconsistent messages.
|
addActiveParticipant, addActiveParticipant, addActiveParticipant, addDestinationActiveParticipant, addParticipantObjectIdentification, addParticipantObjectIdentification, addPatientParticipantObject, addSourceActiveParticipant, addStudyParticipantObject, getMessage, getNetworkAccessPointCodeFromAddress, getTypeValuePair, setAuditSource, setAuditSource, setAuditSource, setAuditSource, setAuditSourceIdentification, setAuditSourceIdentification, setAuditSourceIdentification, setEventIdentification, setEventIdentification
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, self
public NetworkEntryBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventTypeCode eventTypeCode)
public NetworkEntryBuilder setSystemParticipant(String userId, String altUserId, String userName, ActiveParticipantRoleIdCode roleId, String networkId)
userId
- The person or process accessing the audit trail. If both are known,
then two active participants shall be included (both the person and the process).altUserId
- Alternate UserIDuserName
- UserNamenetworkId
- Network Access Point IDpublic void validate()
Validateable
validate
in interface Validateable
validate
in class BaseAuditMessageBuilder<NetworkEntryBuilder>
Copyright © 2018 Open eHealth Foundation. All rights reserved.