Beispiel #1
0
        ///
        ///	 <summary> * retrieves the queuentryid from a queue related query or command
        ///	 *  </summary>
        ///	 * <param name="m"> the query or command </param>
        ///	 * <returns> String the queuentryID in Query/QueueEntryDef/@QueueEntryID </returns>
        ///
        public static string getQueueEntryIDFromMessage(JDFMessage m)
        {
            if (m == null)
            {
                return(null);
            }
            JDFQueueEntryDef def = m.getQueueEntryDef(0);

            if (def == null)
            {
                return(null);
            }
            string s = def.getQueueEntryID();

            if (isWildCard(s))
            {
                return(null);
            }
            return(s);
        }