Source:
<code>public AcknowledgementType logAudit(LogEventSecureRequestType mess, AssertionType assertion) { AcknowledgementType response = null; AuditRepositoryRecord auditRec = new AuditRepositoryRecord(); Date eventTimeStamp = null; String eventCommunityId = null; String eventUserId = null; EventIdentificationType eventIdentification = mess.getAuditMessage().getEventIdentification(); auditRec.setUserId(""); eventCommunityId = getCommunityID(mess); LOG.info("auditSourceID : " + eventCommunityId); if (eventCommunityId != null && !eventCommunityId.equals("")) { auditRec.setRemoteHcid(eventCommunityId); } else { auditRec.setRemoteHcid(""); } <START> auditRec.setDirection(mess.getInterface() + " " + mess.getDirection()); <END> auditRec.setMessage(getBlobFromAuditMessage(mess.getAuditMessage())); XMLGregorianCalendar xMLCalDate = eventIdentification.getEventDateTime(); if (xMLCalDate != null) { eventTimeStamp = convertXMLGregorianCalendarToDate(xMLCalDate); auditRec.setEventTimeStamp(eventTimeStamp); } auditRec.setDirection("EventId"); auditRec.setEventType("EventType"); auditRec.setOutcome(0); auditRec.setDirection("Nhin Outbound"); auditRec.setEventId("EventId"); List<AuditRepositoryRecord> auditRecList = new ArrayList<>(); auditRecList.add(auditRec); LOG.trace("AuditRepositoryOrchImpl.logAudit() -- Calling auditLogDao to insert record into database."); boolean result = auditLogDao.insertAuditRepository(auditRecList); LOG.trace("AuditRepositoryOrchImpl.logAudit() -- Done calling auditLogDao to insert record into database."); response = new AcknowledgementType(); if (result) { response.setMessage("Created Log Message in Database..."); } else { response.setMessage("Unable to create Log Message in Database..."); } return response; }</code><technical_language>this setDirection overridden below? auditRec.setDirection("EventId");</technical_language>

Target:
public AcknowledgementType logAudit(LogEventSecureRequestType mess, AssertionType assertion) { AcknowledgementType response = null; AuditRepositoryRecord auditRec = new AuditRepositoryRecord(); Date eventTimeStamp = null; String eventCommunityId = null; EventIdentificationType eventIdentification = mess.getAuditMessage().getEventIdentification(); auditRec.setUserId(""); eventCommunityId = getCommunityID(mess); LOG.info("auditSourceID : " + eventCommunityId); if (eventCommunityId != null && !eventCommunityId.equals("")) { auditRec.setRemoteHcid(eventCommunityId); } else { auditRec.setRemoteHcid(""); } auditRec.setDirection(mess.getInterface() + " " + mess.getDirection()); auditRec.setMessage(getBlobFromAuditMessage(mess.getAuditMessage())); XMLGregorianCalendar xMLCalDate = eventIdentification.getEventDateTime(); if (xMLCalDate != null) { eventTimeStamp = convertXMLGregorianCalendarToDate(xMLCalDate); auditRec.setEventTimeStamp(eventTimeStamp); } auditRec.setEventType("EventType"); auditRec.setOutcome(0); auditRec.setEventId("EventId"); List<AuditRepositoryRecord> auditRecList = new ArrayList<>(); auditRecList.add(auditRec); LOG.trace("AuditRepositoryOrchImpl.logAudit() -- Calling auditLogDao to insert record into database."); boolean result = auditLogDao.insertAuditRepository(auditRecList); LOG.trace("AuditRepositoryOrchImpl.logAudit() -- Done calling auditLogDao to insert record into database."); response = new AcknowledgementType(); if (result) { response.setMessage("Created Log Message in Database..."); } else { response.setMessage("Unable to create Log Message in Database..."); } return response; }