public static EventIdentification toEventIdentification(EventIdentificationBuilder eventIdentificationBuilder) { EventIdentification ei = new EventIdentification(); ei.setEventID(eventIdentificationBuilder.eventID); ei.setEventActionCode(eventIdentificationBuilder.eventActionCode); ei.setEventDateTime(eventIdentificationBuilder.eventDateTime); ei.setEventOutcomeIndicator(eventIdentificationBuilder.outcome); ei.setEventOutcomeDescription(eventIdentificationBuilder.outcomeDesc); for (org.dcm4che3.audit.EventTypeCode type : eventIdentificationBuilder.eventTypeCode) ei.getEventTypeCode().add(type); return ei; }
public static EventIdentification toEventIdentification(EventIdentificationBuilder eventIdentificationBuilder) { EventIdentification ei = new EventIdentification(); ei.setEventID(eventIdentificationBuilder.eventID); ei.setEventActionCode(eventIdentificationBuilder.eventActionCode); ei.setEventDateTime(eventIdentificationBuilder.eventDateTime); ei.setEventOutcomeIndicator(eventIdentificationBuilder.outcome); ei.setEventOutcomeDescription(eventIdentificationBuilder.outcomeDesc); for (org.dcm4che3.audit.EventTypeCode type : eventIdentificationBuilder.eventTypeCode) ei.getEventTypeCode().add(type); return ei; }
private boolean match(EventIdentification eventIdentification) { if (!matchEventID(eventIdentification.getEventID())) return false; if (!matchEventTypeCodes(eventIdentification.getEventTypeCode())) return false; if (!isEmptyOrContains(eventActionCodes, eventIdentification.getEventActionCode())) return false; if (!isEmptyOrContains(eventOutcomeIndicators, eventIdentification.getEventOutcomeIndicator())) return false; return true; }
private boolean match(EventIdentification eventIdentification) { if (!matchEventID(eventIdentification.getEventID())) return false; if (!matchEventTypeCodes(eventIdentification.getEventTypeCode())) return false; if (!isEmptyOrContains(eventActionCodes, eventIdentification.getEventActionCode())) return false; if (!isEmptyOrContains(eventOutcomeIndicators, eventIdentification.getEventOutcomeIndicator())) return false; return true; }