KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > speedo > pobjects > intelli > Area


1 /**
2  * Copyright (C) 2001-2004 France Telecom R&D
3  */

4 package org.objectweb.speedo.pobjects.intelli;
5
6 import java.util.ArrayList JavaDoc;
7 import java.util.Collection JavaDoc;
8
9 /**
10  *
11  *
12  * @author chassase
13  */

14 public class Area {
15     int areaid;
16     Collection JavaDoc rooms;
17     
18     public Area() {
19         rooms = new ArrayList JavaDoc();
20     }
21     public Area(int areaid) {
22         this.areaid = areaid;
23         rooms = new ArrayList JavaDoc();
24     }
25     
26     /**
27      * @return Returns the areaid.
28      */

29     public int getAreaid() {
30         return areaid;
31     }
32     /**
33      * @return Returns the rooms.
34      */

35     public Collection JavaDoc getRooms() {
36         return rooms;
37     }
38 }
39
Popular Tags