|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.otvl.sbxbsamp.simple.Room
A room in the house.
Constructor Summary | |
Room()
|
Method Summary | |
void |
addTheDoors(Door aDoor)
Adds a target at end of link theDoors. |
void |
addTheDoors(int index,
Door aDoor)
Inserts a target in link theDoors. |
void |
addWindoz(int index,
Window aWindow)
Inserts a target in link windoz. |
void |
addWindoz(Window aWindow)
Adds a target at end of link windoz. |
void |
clearTheDoors()
Clears all targets in link theDoors |
void |
clearWindoz()
Clears all targets in link windoz |
int |
getId()
Returns the id. |
java.lang.String |
getLocation()
Returns the location. |
java.lang.String |
getName()
Returns the name. |
Door |
getTheDoors(int index)
Returns a target in link theDoors. |
Window |
getWindoz(int index)
Returns a target in link windoz. |
java.util.Iterator |
iteratorTheDoors()
Returns an iterator for targets in links theDoors |
java.util.Iterator |
iteratorWindoz()
Returns an iterator for targets in links windoz |
void |
removeTheDoors(int index)
Removes a target in link theDoors |
void |
removeWindoz(int index)
Removes a target in link windoz |
void |
setId(int id)
Sets the id. |
void |
setLocation(java.lang.String location)
Sets the location. |
void |
setName(java.lang.String name)
Sets the name. |
int |
sizeTheDoors()
Returns the size of the collection theDoors |
int |
sizeWindoz()
Returns the size of the collection windoz |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Room()
Method Detail |
public int getId()
public void setId(int id)
id
- The id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to setpublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- The location to setpublic Window getWindoz(int index)
index
- offset in the array
public java.util.Iterator iteratorWindoz()
public int sizeWindoz()
public void addWindoz(int index, Window aWindow)
index
- offset in the listaWindow
- The Window to insertpublic void addWindoz(Window aWindow)
aWindow
- The Window to insertpublic void removeWindoz(int index)
index
- offset in the listpublic void clearWindoz()
public Door getTheDoors(int index)
index
- offset in the array
public java.util.Iterator iteratorTheDoors()
public int sizeTheDoors()
public void addTheDoors(int index, Door aDoor)
index
- offset in the listaDoor
- The Door to insertpublic void addTheDoors(Door aDoor)
aDoor
- The Door to insertpublic void removeTheDoors(int index)
index
- offset in the listpublic void clearTheDoors()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |