}
private boolean validateInputData(RTCAssignmentType _input) {
//check input <Meta> data
MetaType _inputMeta = _input.getMeta();
if (_inputMeta.getMessageTime() == null
|| isNullOrEmptyStr(_inputMeta.getType())
|| isNullOrEmptyStr(_inputMeta.getSubtype())){
LOG.debug("Mandatory data for Meta are missing. Message dropped.");
return false;
}
if (!"REA".equalsIgnoreCase(_inputMeta.getType())) {
LOG.debug("Meta Type is not REA. Message dropped.");
return false;
}
String subType = _inputMeta.getSubtype();
if(!subType.matches("INS|UPD|DEL")){
LOG.debug("Meta SubType is not equal to (INS or UPD or DEL). Message dropped.");
return false;
}