|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.user1.union.core.def.RoomDef
public class RoomDef
A RoomDef defines how a room should be constructed.
| Constructor Summary | |
|---|---|
RoomDef()
Constructor. |
|
RoomDef(java.lang.String roomID)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addAttribute(AttributeDef attr)
Add an attribute to the room. |
void |
addModule(ModuleDef mod)
Add a room module to be deployed with the room. |
java.util.Set<AttributeDef> |
getAttributes()
Get the attributes set for this room. |
java.lang.String |
getOwnerID()
Get the clientID of the owner of the room. |
java.lang.String |
getRoomID()
Get the ID of the room. |
java.util.List<ModuleDef> |
getRoomModules()
Returns a list of the modules to be deployed with the room. |
void |
setModules(java.util.List<ModuleDef> mods)
Set a list of modules to be deployed with the room. |
void |
setOwnerID(java.lang.String ownerID)
|
void |
setRoomID(java.lang.String roomID)
Set the ID of the client that should own the room |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoomDef()
public RoomDef(java.lang.String roomID)
| Method Detail |
|---|
public void addModule(ModuleDef mod)
mod - - the module definition to addpublic void setModules(java.util.List<ModuleDef> mods)
mods - - the module definitions to setpublic java.util.List<ModuleDef> getRoomModules()
public void addAttribute(AttributeDef attr)
attr - - an attributepublic java.util.Set<AttributeDef> getAttributes()
public java.lang.String getRoomID()
public void setRoomID(java.lang.String roomID)
roomID - - the ID of the roompublic java.lang.String getOwnerID()
public void setOwnerID(java.lang.String ownerID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||