/** Print een overzicht van alle CD's (maak een toString methode in de klasse CD) */
  @Override
  public String toString() {
    if (!cds.isEmpty()) {

      String result = "";
      for (CD cd : cds) {
        result += cd.toString() + "\n";
      }
      return result;
    }
    return "No CDs are present.";
  }
  @Override
  protected void logEvent() {
    StringBuffer logMessage =
        new StringBuffer(StringUtils.substringAfterLast(this.getClass().getName(), "."));
    logMessage.append(" with ");

    // vary logging detail as needed
    if (this.actionBean == null) {
      logMessage.append("null actionBean");
    } else {
      logMessage.append(actionBean.toString());
    }

    getLOGHook().debug(logMessage);
  }
 @Override
 public boolean Update() {
   if (bIsFalling == 1) {
     final float YDelta = -FallSpeed * Globals.secondsSinceLastFrame;
     final float SpikeBottom = CD.Bottom + YDelta;
     final float FloorHeight =
         Globals.mGameGraph.FindFloorIntersectionHeight(CD.Left, CD.Right, SpikeBottom);
     if (SpikeBottom < FloorHeight) {
       Globals.mGameGraph.AddExplosion(X, Y, Explosion.SmokeExplosion, bFlip);
       SoundSystem.PlaySound(Explosion.SmokeExplosion_SoundID);
       Remove();
       return false;
     } else {
       Y += YDelta;
       CD.Translate(0.0f, YDelta);
     }
   } else {
     final float PlayerX = Globals.mGameGraph.mPlayer.X;
     if (PlayerX > CD.Left && PlayerX < CD.Right) {
       bIsFalling = 1;
     }
   }
   return true;
 }
 /**
  * Mark the specified columns as keys.
  *
  * @param columns the columns
  * @return the current factory
  */
 public final MF addKeys(String... columns) {
   for (String col : columns) {
     addColumnDefinition(col, identity.addKey());
   }
   return (MF) this;
 }
 /**
  * Associate an alias on the column key to rename to value.
  *
  * @param key the column to rename
  * @param value then name to rename to
  * @return the current factory
  */
 public final MF addAlias(String key, String value) {
   return addColumnDefinition(key, identity.addRename(value));
 }
 public int getCd() {
   return cd.getId();
 }