public virtual void testResourceCommandPartIDKeys() { JDFDoc jdfDoc = JDFDoc.parseFile(sm_dirTestData + "ResourceCmd.jdf"); JDFDoc jdfDocJMF = JDFDoc.parseFile(sm_dirTestData + "ResourceCmd.jmf"); JDFJMF jmf = jdfDocJMF.getJMFRoot(); for (int i = 0; true; i++) { JDFCommand cmd = (JDFCommand)jmf.getMessageElement(JDFMessage.EnumFamily.Command, JDFMessage.EnumType.Resource, i); if (cmd == null) { break; } JDFResourceCmdParams @params = cmd.getResourceCmdParams(0); @params.applyResourceCommand(jdfDoc.getJDFRoot()); } }