com.electrotank.electroserver4.extensions.api
Class RoomVariableResponse

java.lang.Object
  extended by com.electrotank.electroserver4.extensions.api.PluginApiResponse
      extended by com.electrotank.electroserver4.extensions.api.RoomVariableResponse

public class RoomVariableResponse
extends PluginApiResponse

This class represents a response from the server in regards to a plugin request to create, update, or delete a room variable.

See Also:
PluginApiResponse, ElectroServerApi.createRoomVariable, ElectroServerApi.updateRoomVariable, ElectroServerApi.deleteRoomVariable

Nested Class Summary
 
Nested classes/interfaces inherited from class com.electrotank.electroserver4.extensions.api.PluginApiResponse
PluginApiResponse.Status
 
Constructor Summary
RoomVariableResponse()
           
 
Method Summary
 String getName()
          Gets the name of the room variable.
 int getRoomId()
          Gets the roomId of the room holding the variable.
 int getZoneId()
          Gets the zoneId of the zone holding the room.
 void setName(String name)
          Sets the name of the room variable.
 void setRoomId(int roomId)
          Sets the roomId of the room holding the variable.
 void setZoneId(int zoneId)
          Sets the zoneId of the zone holding the room.
 
Methods inherited from class com.electrotank.electroserver4.extensions.api.PluginApiResponse
getStatus, isSuccess, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoomVariableResponse

public RoomVariableResponse()
Method Detail

getName

public String getName()
Gets the name of the room variable.

Returns:
variable name

setName

public void setName(String name)
Sets the name of the room variable.

Parameters:
name - variable name

getRoomId

public int getRoomId()
Gets the roomId of the room holding the variable.

Returns:
roomId

setRoomId

public void setRoomId(int roomId)
Sets the roomId of the room holding the variable.

Parameters:
roomId - room holding the variable

getZoneId

public int getZoneId()
Gets the zoneId of the zone holding the room.

Returns:
zoneId

setZoneId

public void setZoneId(int zoneId)
Sets the zoneId of the zone holding the room.

Parameters:
zoneId - zone holding the room


Copyright © 2007 Electrotank, Inc. All Rights Reserved.