it.gotoandplay.smartfoxserver.data
Class UserVariable
java.lang.Object
it.gotoandplay.smartfoxserver.data.UserVariable
- Direct Known Subclasses:
- RoomVariable
public class UserVariable
- extends java.lang.Object
UserVariable.java
- Version:
- 1.0
Constructor Summary |
UserVariable(java.lang.String value,
java.lang.String type)
Default constructor |
Method Summary |
java.lang.String |
getType()
|
java.lang.String |
getValue()
|
void |
setType(java.lang.String type)
Set the variable type |
void |
setValue(java.lang.String value)
Set the variable value |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_NULL
public static java.lang.String TYPE_NULL
TYPE_BOOLEAN
public static java.lang.String TYPE_BOOLEAN
TYPE_NUMBER
public static java.lang.String TYPE_NUMBER
TYPE_STRING
public static java.lang.String TYPE_STRING
UserVariable
public UserVariable(java.lang.String value,
java.lang.String type)
- Default constructor
- Parameters:
value
- var valuetype
- var type
setType
public void setType(java.lang.String type)
- Set the variable type
- Parameters:
type
- the type
getType
public java.lang.String getType()
- Returns:
- the variable type
setValue
public void setValue(java.lang.String value)
- Set the variable value
- Parameters:
value
- the value
getValue
public java.lang.String getValue()
- Returns:
- the variable value