public static AuditMessage createMessage( EventIdentificationBuilder eventIdentificationBuilder, ActiveParticipantBuilder[] activeParticipantBuilders, ParticipantObjectIdentificationBuilder... participantObjectIdentificationBuilders) { AuditMessage msg = new AuditMessage(); msg.setEventIdentification(toEventIdentification(eventIdentificationBuilder)); for (ActiveParticipantBuilder activeParticipantBuilder : activeParticipantBuilders) if (activeParticipantBuilder != null) msg.getActiveParticipant().add(toActiveParticipant(activeParticipantBuilder)); for (ParticipantObjectIdentificationBuilder participantObjectIdentificationBuilder : participantObjectIdentificationBuilders) msg.getParticipantObjectIdentification().add(toParticipantObjectIdentification(participantObjectIdentificationBuilder)); return msg; }
public static AuditMessage createMessage( EventIdentificationBuilder eventIdentificationBuilder, ActiveParticipantBuilder[] activeParticipantBuilders, ParticipantObjectIdentificationBuilder... participantObjectIdentificationBuilders) { AuditMessage msg = new AuditMessage(); msg.setEventIdentification(toEventIdentification(eventIdentificationBuilder)); for (ActiveParticipantBuilder activeParticipantBuilder : activeParticipantBuilders) if (activeParticipantBuilder != null) msg.getActiveParticipant().add(toActiveParticipant(activeParticipantBuilder)); for (ParticipantObjectIdentificationBuilder participantObjectIdentificationBuilder : participantObjectIdentificationBuilders) msg.getParticipantObjectIdentification().add(toParticipantObjectIdentification(participantObjectIdentificationBuilder)); return msg; }