private static MessageInfo mapMessageInfo(MessageInfoType messageInfoType) {
        MessageInfo messageInfo = new MessageInfo();
        if (messageInfoType != null) {
            messageInfo.setFlowId(messageInfoType.getFlowId());
            messageInfo.setMessageId(messageInfoType.getMessageId());
            messageInfo.setOperationName(messageInfoType.getOperationName());
            messageInfo.setPortType(messageInfoType.getPorttype() == null
                ? "" : messageInfoType.getPorttype().toString());
            messageInfo.setTransportType(messageInfoType.getTransport());
        }
        return messageInfo;
    }
private static MessageInfo mapMessageInfo ( MessageInfoType messageInfoType ) { MessageInfo messageInfo = new MessageInfo ( ) ; if ( messageInfoType != null ) { messageInfo . setFlowId ( messageInfoType . getFlowId ( ) ) ; messageInfo . setMessageId ( messageInfoType . getMessageId ( ) ) ; messageInfo . setOperationName ( messageInfoType . getOperationName ( ) ) ; messageInfo . setPortType ( messageInfoType . getPorttype ( ) == null ? "" : messageInfoType . getPorttype ( ) . toString ( ) ) ; messageInfo . setTransportType ( messageInfoType . getTransport ( ) ) ; } return messageInfo ; }
Map message info.

@param messageInfoType the message info type
@return the message info