Ejemplo n.º 1
0
 /**
  * @param name
  * @param cap
  * @return New classroom assigned for this department/affinity
  */
 public Classroom newClassroom(String name, int cap) {
   Classroom c = new Classroom();
   c.building = name;
   c.room = name;
   c.capacity = cap;
   c.campus = this.affinity;
   c.restricted = true;
   c.type = "Classroom";
   c.wheelchair = true;
   return c;
 }