public void endInteraction() {
   if (mCID == null || mCMP == null)
     throw new RuntimeException("An interaction clause is ending without" + "initlization");
   mCID.addInteraction(mCIDFP, mCIDTP, mCIDCount, mCIDCount);
   mModuleModel.getModuleExchangeMap().put(mCMP, mCID);
   mCID = null;
   mCMP = null;
 }
 public void setIgnoreRate(String ignoreRate) {
   if (!ignoreRate.equalsIgnoreCase("true") && !ignoreRate.equalsIgnoreCase("false"))
     throw new RuntimeException("Incorrect value for ignore-rate");
   if (mCMFake != null && mCID == null) {
     mCMFake.setIgnoreRate(Boolean.parseBoolean(ignoreRate));
   } else if (mCMFake == null && mCID != null) {
     mCID.setIgnoreRate(Boolean.parseBoolean(ignoreRate));
   } else throw new RuntimeException("No element initialized for ignore rate : " + ignoreRate);
 }