Package ek.rms.rtcAssignment

Examples of ek.rms.rtcAssignment.MetaType


  }
 
  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;
    }
   
View Full Code Here

TOP

Related Classes of ek.rms.rtcAssignment.MetaType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.