Page 863 - IT2
P. 863

newTP.setAtelier(this);
                            }
                         }


                         public void removeTP(TP oldTP) {
                            if (oldTP == null)
                               return;
                            if (this.TP != null)
                               if (this.TP.contains(oldTP))
                               {
                                  this.TP.remove(oldTP);

                                  oldTP.setAtelier((atelier)null);
                               }
                         }

                         public void replaceTP (TP oldTP, TP newTP) {
                             removeTP(oldTP);
                             addTP(newTP)
                         }
                         public override bool Equals(object obj){

                            Salle a = (Salle)obj;
                            if (a == null)
                               return false;
                            return this.capaciteAte == a.capaciteAte;
                         }


                   6.  Classe TP:
               public class TP {
                  private int numTP;

                  private Date dateTP;
                  private int durTP;
                  public Stagiaire stagiaire;
                  public Nature nature;
                  public Examinateur examinateur;
                  public Atelier atelier;


                  public ArrayList Listeconsommer;
                  public ArrayList <Professionnel> Listeprofessionnel;
                      Filière                   Epreuve                        Session             10/15
                  DI (CDS de 2 à 3)       Synthèse V2(Correction)            Juillet 2016
                                           www.itlearning-settat.com

                                   Email: admission@itlearning-settat.com
                                                    Tél.:0661077812
   858   859   860   861   862   863   864   865   866   867   868