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;
 }