data.theatre
Class Rangee

java.lang.Object
  extended by data.theatre.Rangee

public class Rangee
extends java.lang.Object


Constructor Summary
Rangee(java.lang.String idRangee)
           
 
Method Summary
 void addPlace(Place pl)
          Setter of the property lesPlaces
 java.lang.String getIdRangee()
           
 java.util.Collection getLesPlaces()
          Getter of the property lesPlaces
 int getNbPlaces()
          Calcul du nombre des places
 boolean removePlace(int numeroPlace)
           
 boolean removePlace(Place pl)
          Enlever une Place de la rangee, on retourne un boolean de controle.
 java.lang.String toString()
          Affichage de la rangee:
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rangee

public Rangee(java.lang.String idRangee)
Method Detail

getLesPlaces

public java.util.Collection getLesPlaces()
Getter of the property lesPlaces

Returns:
Returns the lesPlaces.

addPlace

public void addPlace(Place pl)
Setter of the property lesPlaces

Parameters:
lesPlaces - The lesPlaces to set.

removePlace

public boolean removePlace(Place pl)
Enlever une Place de la rangee, on retourne un boolean de controle.


removePlace

public boolean removePlace(int numeroPlace)

getNbPlaces

public int getNbPlaces()
Calcul du nombre des places


getIdRangee

public java.lang.String getIdRangee()
Returns:
the idRangee

toString

public java.lang.String toString()
Affichage de la rangee:

Overrides:
toString in class java.lang.Object