|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 |
readExternal(java.io.ObjectInput in)
|
void |
setModules(java.util.List<ModuleDef> mods)
Set a list of modules to be deployed with the room. |
void |
setOwnerID(java.lang.String ownerID)
Set the clientID of the owner of the room. |
void |
setRoomID(java.lang.String roomID)
Set the ID of the room. |
void |
writeExternal(java.io.ObjectOutput out)
|
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)
ownerID
- - the clientID of the owner of the roompublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |