01: /**
02: * Copyright (C) 2001-2004 France Telecom R&D
03: */package org.objectweb.speedo.pobjects.intelli;
04:
05: import java.util.ArrayList;
06: import java.util.Collection;
07:
08: /**
09: *
10: *
11: * @author chassase
12: */
13: public class Area {
14: int areaid;
15: Collection rooms;
16:
17: public Area() {
18: rooms = new ArrayList();
19: }
20:
21: public Area(int areaid) {
22: this .areaid = areaid;
23: rooms = new ArrayList();
24: }
25:
26: /**
27: * @return Returns the areaid.
28: */
29: public int getAreaid() {
30: return areaid;
31: }
32:
33: /**
34: * @return Returns the rooms.
35: */
36: public Collection getRooms() {
37: return rooms;
38: }
39: }
|