Package data.theatre

Examples of data.theatre.Theatre


   * @throws SQLException
   */
  public Theatre getTheatre() throws SQLException{
    pSelectTheatre.clearParameters();
    ResultSet rsTheatre = pSelectTheatre.executeQuery();
    Theatre theatre = new Theatre(rsTheatre.getString(1));
   
    // On récupére les zones
    pSelectZones.clearParameters();
    ResultSet rsZones = pSelectZones.executeQuery();
   
    // On paramètre les objets zones avant de les ajouter
    while(rsZones.next()){
      String idZone = rsZones.getString(1);
     
      // On paramétre cette zone (ajout des rangées ...)
      Zone z = this.parametrerZone(idZone);     
      // On ajoute cette zone au théatre
      theatre.addZone(z);
    }
   
   
    return theatre;
  }
View Full Code Here

TOP

Related Classes of data.theatre.Theatre

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.