@Override
  public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
  {
    name = (String) in.readObject();
    this.setIcon((Icon) in.readObject());
    medias = (TreeSet<MediaElement>) in.readObject();
    for (MediaElement mediaElement : medias)
      mediaElement.setParent(this);
    String[] infos = (String[]) in.readObject();
    for (int i = 0; i < imdbInfos.length; i++)
      imdbInfos[i] = infos[i];

    initialize();
  }